ropensci / europepmc

R Interface to Europe PMC RESTful Web Service
https://docs.ropensci.org/europepmc
27 stars 8 forks source link

Replace request parameter "page"with “cursorMark” #9

Closed njahn82 closed 7 years ago

njahn82 commented 7 years ago

From the version 4.5.3 announcement:

http://www.ebi.ac.uk/europepmc/webservices/test/rest/search/query=(p55)%20AND%20OPEN_ACCESS:Y&synonym=true&pageSize=100&sort=CITED%20desc&cursorMark=*

The value from

<nextCursorMark>AoI4MTAuNDEwMy8xNjczLTUzNzQuMTI4MjQwKDMyOTUzMTA4</nextCursorMark>

has to be copied in the next page request, as shown:

http://www.ebi.ac.uk/europepmc/webservices/test/rest/search/query=(p55)%20AND%20OPEN_ACCESS:Y&synonym=true&pageSize=100&sort=CITED%20desc&cursorMark=AoI4MTAuNDEwMy8xNjczLTUzNzQuMTI4MjQwKDMyOTUzMTA4