Skip to content

Instantly share code, notes, and snippets.

@travelingtonic
Created December 6, 2018 01:24
Show Gist options
  • Save travelingtonic/926d8f40bf708249de6182c6606eb536 to your computer and use it in GitHub Desktop.
Save travelingtonic/926d8f40bf708249de6182c6606eb536 to your computer and use it in GitHub Desktop.
Meetup API Documentation Review
Assignment 1
Visit the YouTube API documentation discussed above and find the subscription list endpoint documentation. List 1 required parameter and 2 optional parameters for this endpoint. For each parameter listed, state the data type and give an example of the allowed values.
Endpoint documentation: https://developers.google.com/youtube/v3/docs/subscriptions/list
Required: myRecentSubscribers; boolean; true
Optional:
maxResults; integer; 10
order; string; relevance
Assignment 2
Visit the Google Maps Geocoding API documentation found here: https://developers.google.com/maps/documentation/geocoding/intro. Construct the full URL for requesting the geographic coordinates of The Statue of Liberty in JSON format. Do the same for your own address.
https://maps.googleapis.com/maps/api/geocode/json?address=Statue%20of%20Liberty%2C%20New%20York%2C%20NY%2010004&key=key
Assignment 3
Visit the meetup.com API docs found here: https://www.meetup.com/meetup_api/
Does this API require authentication?
Most requests must be authenticated: https://www.meetup.com/meetup_api/auth/
Does this API support CORS?
The Meetup API supports the CORS specification which allows browser clients hosted on a domain other than api.meetup.com to communicate directly with the API.
Find the events search endpoint documentation. Describe in detail the response format of the events search endpoint.
Events search: https://www.meetup.com/meetup_api/docs/:urlname/events/#list
Returns back general information about the event (like description, photos, hosts, fees, and location), attendance statistics (rsvps and attendees), details of the host group, info on how to rsvp, and event venue info.
What are the limitations placed on the number of requests that can be made?
The API limits the number of requests a client can make in a particular window of time. The X-RateLimit HTTP headers included in responses from the API will tell you how many requests you're allowed for each time period, how many requests you have remaining for the current time period, and when the time period will restart.
List the errors that you can expect when making calls to this API.
400 Bad request
401 Unauthorized
429 Too Many Requests
500 Internal Server Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment