PMC is pleased to release a new RESTful Web Service, in addition to the
existing SOAP service. Both Web Services can be accessed via the ‘Resources’
menu option on the Europe PMC homepage.
programmatic access to all of the publications and related information in
Europe PMC. With the RESTful the results can be presented directly into your
browser using HTTP URL syntax. The results can be returned in either XML or
JSON formats.
deliver Europe PMC content. Full details and examples are available on the
RESTful page.
We hope
that users will benefit from the new Web Service and feedback is
welcome.
Follow us on Twitter: Europe PMC news and Europe
PMC articles
I am excited about this announcement and have started to think how to use the new API.
There seems to be a problem with the following example:
http://www.ebi.ac.uk/europepmc/webservices/rest/MED/12368864/databaseLinks/1/json
Not only generates this an error, but the error is returned in XML and not JSON.
Hi Martin,
For some reason the syntax in the documentation was changed on release, however the documentation note is correct:
Note that to use the format parameter you must use the preceding database and page parameters, even if the former is empty and the latter is 1.
Try the following it should work, we will correct the URL examples:
http://www.ebi.ac.uk/europepmc/webservices/rest/MED/12368864/databaseLinks//1/json
Best regards, Phil
Very nice! Could you please expand all of the "show/hide" sections by default, or provide a "show all" button? The problem is that "find in page" doesn't work when the term I'm looking for (json) is hidden.
Hi Chris,
All the JSON references can be found in either the format or callback parameters. However thank you for your suggestion, we will consider adding a 'show all' button.
Best regards, Phil
As suggested a 'show/hide all tips' button has been added to the RESTful page.
Philip Rossiter, Europe PMC Project Manager
The URL given above:
http://europepmc.org/restfulwebservice
Doesn't seem to work. I think it should be:
http://europepmc.org/RestfulWebService
Hi Dan,
Good catch, and thanks for pointing this out, the URL has now been corrected. Our front-end Java Wicket has been upgraded; this has introduced URL case insensitivity. It will be a simple job to build in a filter to correct this.
Phil, Europe PMC Project Manager
Hi,
Is there an XSD definition for the XML that is returned from the restful search using the core fields parameter?
Thanks
John
Hi John,
We agree that generating an XSD would be a useful feature. We will log this as a feature request, something that we will consider for a future release.
Best regards,
Philip Rossiter, Europe PMC Project Manager
This is an excellent service – thank you. One significant enhancement (which might already be there!) would be to add a 'newly modified' and 'newly added' options – I can't see how to do this at the moment?
Hi Steve,
Thank you for your comment; we are glad you find the service useful. As regards your question I would like to draw your attention to the Help page: http://europepmc.org/Help. On this page you will find two search fields: CREATION_DATE and UPDATE_DATE. You can use this syntax to refine your searches, for example:
http://www.ebi.ac.uk/europepmc/webservices/rest/search/query=malaria%20CREATION_DATE:%5B2010-11-12%20TO%202010-12-11%5D
Best regards,
Philip Rossiter, Europe PMC Project Manager
Love the service, really works like a charm. However, I have compared the results it gives to the RSS feed "Latest additions to Europe PMC" (http://europepmc.org/Funders/RSS/AllFunders.xml), and failed to find the same entries. Shouldn't they match?
Best,
Olaf
Olaf, thanks for your observation. There would like be a difference between the web service, and the RSS Feed because the feed covers all of our Funders. Of course we get articles from other sources, not just our Funders – e.g. all those funded by NIH, or for e.g. All PLoS ONE articles etc. So in summary that particular RSS Feed shows a subset of Europe PMC content – related to our Funders.
Philip Rossiter. Europe PMC Project Manager