简体   繁体   中英

meetup rate limit only 200, problems with getting other records

I am trying to get events for a meetup. The problem is I am only getting around 200 events. So, I tried doing an offset and specifying the pagination as specified in other stackoverflow question but is not working. It is giving me the same records each time. Can anyone advise on how to get other records? Thanks so much. Below is the R code.

 library(jsonlite)
 data1<- data.frame(fromJSON("https://api.meetup.com/bostonphp/events?key=yourkey&status=past&page=40&offset=7", flatten = TRUE))

Disclosure that I wrote the package meetupapi that I reference in my answer.

installation

Currently the development version on github is recommended because I've yet to submit some bug fixes to CRAN.

devtools::install_github("zacdav/meetupapi")

Get meetup events

library(meetupapi)
api_key = "************API_KEY_HERE***************"
boston_events <- get_meetup_events("bostonphp", api_key)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM