我正在尝试使用PubMed API搜索具有确切标题的文章。例如,我想搜索标题:The cost-effectiveness of mirtazapine versus paroxetine in treating people with depression in primary care
。
我想要最多1000个JSON格式的结果,所以我知道我的网址的第一部分应该是这样的:
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=json&retmax=1000&term=
如何将标题搜索添加为GET参数?
我一直在使用Pubmed advanced search constructor,这表明查询应该看起来像The cost-effectiveness of mirtazapine versus paroxetine in treating people with depression in primary care[Title]
。
但如果我尝试将其添加到网址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参数?
答案 0 :(得分:3)
答案 1 :(得分:3)
使用field=title
查看ESearch API以获取更多信息: http://www.ncbi.nlm.nih.gov/books/NBK25499/#_chapter4_ESearch_