2015-08-17 75 views
5

我正嘗試使用PubMed API搜索具有精確標題的文章。作爲一個例子,我想搜索標題:The cost-effectiveness of mirtazapine versus paroxetine in treating people with depression in primary care如何使用PubMed API搜索精確標題的文章?

我想高達1000個結果JSON格式,所以我知道我的URL的第一部分應該是這樣的:

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]

但如果我嘗試只是補充說,到URL term=,考研試圖打破標題爲各種奇特的查詢:

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 PARAM?

回答