Using the Meetup API, I'm able to successfully get exactly 200 members from any given group. There are a lot of groups that have more members than that. I want to know how to get them all.
The issue
I haven't been able to find where &page=###
is documented. I'm assuming it sets how many results are returned in the response from Meetup.
I have tried using, for example, &page=1000
, but I still only get 200 members back.
The request URL
I'm using this URL to request the data:
let meetupReqUrl = "https://api.meetup.com/2/members?&sign=true&group_id="
+ groupId
+ "&key="
+ apiKeys.meetup
+ "&order=joined"
+ "&page=1000"
This variation also returns exactly 200 members:
let meetupReqUrl = "https://api.meetup.com/2/members?&sign=true&group_id="
+ groupId
+ "&order=joined"
+ "&page=1000"
+ "&key="
+ apiKeys.meetup
It may be worth noting that &order=joined
is not sorting the results at all. This leads me to believe I am doing something wrong in forming the URL.
Related documentation
Meetup's /2/members
API is documented here.