Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save psychicbologna/7b380cd5892a1c2ade7e12a0d1273eef to your computer and use it in GitHub Desktop.
Save psychicbologna/7b380cd5892a1c2ade7e12a0d1273eef to your computer and use it in GitHub Desktop.
#Meetup.com API Questions
Alexander Fukui
1. Does this API require authentication?
According to the API, 'Most requests must be authenticated.' They have four different authentication methods, but OAuth2 is the only actively supported one.
2. Does this API support CORS?
'The Meetup API supports the Cors specification...'. There is an Access-Control-Allow-Origin parameter, and several other Access-Control parameters.
3. Find the events search endpoint documentation. Describe in detail the response format of the events search endpoint.
[Link](https://secure.meetup.com/meetup_api/console/?path=/find/upcoming_events)
The event has numerous request parameters - parameters like start and end_time_range and start and end_date_range narrow down when events are occuring. page lets you define how many results to show per page, default 32. text defines a full search query. radius lets you define radius in miles. topic_category filters recommendations by topic category. lat & lon let you specify a target latitude and longitude. fiels let you put optional fields to populate in response. self_groups can be set to 'include', 'exclude', or 'only' get groups the member belongs to, with a default value of 'include' and options that disregard location settings in favor of showing all of a group's results. excluded_groups allows you to exempt groups from the search; it overrides the value set in self_groups, meaning if set results from a group will be excluded even if they are in the set of groups a member belongs to. order lets you define in what order your search returns its list.
Response parameters include city(current city in context), events(list of events). These in turn are subdivided - city includes city, country, numeric id, lat & long, member_count, name_string(full name of city), state and zip. Event includes attendance_count (a full count) & attendance_sample(a smaller sample), attendee_sample(representing the collection of yes RSVPs), comment_count(# of comments), created(creation time), date_in_series(date matching series pattern), description(Description of the event in HTML.)...a larger parameter is group, which holds many subparameters about category, options and membership. Photos, pay status, and cost are included; survey questions, venue visibility and waitlists, even a 'why' to define why you should attend.
4. What are the limitations placed on the number of requests that can be made?
200 per hour and 200 max results for each request, according to Meetup's github as of 2016.
5. List the errors that you can expect when making calls to this API.
I ran out of time before I could finish this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment