cpitclaudel / biblio.el

Browse and import bibliographic references from CrossRef, DBLP, HAL, arXiv, Dissemin, and doi.org from Emacs
GNU General Public License v3.0
180 stars 14 forks source link

Feature request: support PubMed #15

Open Guillawme opened 7 years ago

Guillawme commented 7 years ago

Hi there,

Very interesting package!

Support for PubMed (the main search engine for biomedical research articles) would be super useful. I would contribute that functionality myself if I were skilled enough with elisp, but unfortunately I'm not.

Guillawme commented 7 years ago

I am not sure I should spam the issue tracker with another entry for that (because it's basically the same request), but it would be great to also support Google Scholar.

cpitclaudel commented 7 years ago

Hi there,

Thanks for the suggestions. Even without ELisp skills you can help a lot by looking the terms of use and documentation of the relevant APIs — for Google Scholar, for example, there is unfortunately no public API. Maybe there is one for PubMed? If so, it should be easy to support it. And you can provide examples of API calls, too, which can serve as tests :)

I'd also look at the docs (C-h v) of biblio-backends, which indicate what functionality is required from the API.

Thanks!

Guillawme commented 7 years ago

I didn't know that Google Scholar doesn't provide any interface, but it's no surprise I suppose.

I don't understand what you're talking about (I have very limited programming experience), but a quick search yielded the following:

https://www.ncbi.nlm.nih.gov/home/develop/api.shtml http://www.fredtrotter.com/2014/11/14/hacking-on-the-pubmed-api

cpitclaudel commented 7 years ago

Thanks. I don't currently have time to look at too much PubMed documentation, unfortunately. Can you tell from these docs whether there's a way to get article information in a single query? The tutorial you linked to seems to suggest that you need to queries (one to get article IDs, and a second one to get bibliographic information).