10

我正在尝试使用 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]

但是,如果我尝试将其添加到 URLterm=中,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 参数?

4