--
You received this message because you are subscribed to the Google Groups "Guardian Open Platform API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guardian-api-t...@googlegroups.com.
To post to this group, send email to guardian...@googlegroups.com.
Visit this group at https://groups.google.com/group/guardian-api-talk.
To view this discussion on the web, visit https://groups.google.com/d/msgid/guardian-api-talk/7beb85af-1515-4375-b76e-af153fcd5518%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
See page, page-size parameter on page options on documentation
On Thu, 30 May 2019 at 17:46, Sam Pham <thanh...@gmail.com> wrote:
hi team, i'm using R, "httr" to access your API and it seems like the response only has the first page?--library(httr)tags <- GET(url="https://content.guardianapis.com/tags",query = list(q="economics",'api-key'=apiKey))tags <- tags$content %>% rawToChar() %>% fromJSON()tags <- tags$response$results[,"id"]many thanks for your helpbestsam
You received this message because you are subscribed to the Google Groups "Guardian Open Platform API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guardian...@googlegroups.com.
To post to this group, send email to guardian...@googlegroups.com.
Visit this group at https://groups.google.com/group/guardian-api-talk.
To view this discussion on the web, visit https://groups.google.com/d/msgid/guardian-api-talk/7beb85af-1515-4375-b76e-af153fcd5518%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
many thanks Mariot very clear. i have set page-size to 50 which i believe is the maximum. for queries that have more than 50 results, do i have to make 2 requests? one for the first 50, and so on...?
To unsubscribe from this group and stop receiving emails from it, send an email to guardian-api-t...@googlegroups.com.
To post to this group, send email to guardian...@googlegroups.com.
Visit this group at https://groups.google.com/group/guardian-api-talk.
To view this discussion on the web, visit https://groups.google.com/d/msgid/guardian-api-talk/cd9b0152-f0ea-42f2-9e87-a971397614b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mariot Chauvin
Head of Engineering - Digital
Guardian News & Media
-----