如何使用 PubMed API 搜索具有准确标题的文章?

问题描述 投票:0回答:2

我正在尝试使用 PubMed API 来搜索具有准确标题的文章。例如,我想搜索标题

The cost-effectiveness of mirtazapine versus paroxetine in treating people with depression in primary care

我想要最多 1000 个 JSON 格式的结果,所以我知道我的 URL 的第一部分应该是这样的:

http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=json&retmax=1000&term=

如何添加标题搜索作为 GET 参数?

我一直在使用 Pubmed 高级搜索构造器,这表明查询应该看起来像

The cost-effectiveness of mirtazapine versus paroxetine in treating people with depression in primary care[Title]
.

但如果我尝试将其添加到 URL

term=
,PubMed 会尝试将标题分解为各种特殊查询:

http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=json&retmax=1000&term=The%20cost-effectiveness%20of%20mirtazapine%20versus%20paroxetine%20in%20treating%20people%20with%20depression%20in%20primary%20care[Title]

如何指定一个准确的标题作为 GET 参数?

http-get pubmed
2个回答

© www.soinside.com 2019 - 2024. All rights reserved.