Skip to content

Instantly share code, notes, and snippets.

@jcharles22
Created March 28, 2019 00:40
Show Gist options
  • Save jcharles22/76d6819a29454837a79b998241b42e7f to your computer and use it in GitHub Desktop.
Save jcharles22/76d6819a29454837a79b998241b42e7f to your computer and use it in GitHub Desktop.
Reading API documentation Module
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.
Required Part = string
Opitional ChannelId = string mine = boolean
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.
Statue of Liberty the end needs to be changed to your api key
https://maps.googleapis.com/maps/api/geocode/json?&address=The%20Statue%20of%20Liberty,+CA&key=YOUR_API_KEY
Cartersville, Ga the end needs to be changed to your api key
https://maps.googleapis.com/maps/api/geocode/json?&address=cartersville%2C%20ga,+CA&key=YOUR_API_KEY
Visit the meetup.com API docs found here: https://www.meetup.com/meetup_api/. Answer the following questions:
Does this API require authentication? Most requests must be authenticated. Unless otherwise specified.
Does this API support CORS? Yes
Find the events search endpoint documentation.
Describe in detail the response format of the events search endpoint. All parameters are optional. This endpoint uses HTTP Link header based pagination The default order is ascending. To return the list in descending order, send desc=true in requests.
What are the limitations placed on the number of requests that can be made?
You can know your current rate limit status by reading X-RateLimit HTTP headers included in responses. The following table indicates their name and meaning.
Header name Meaning
X-RateLimit-Limit The maximum number of requests that can be made in a window of time
X-RateLimit-Remaining The remaining number of requests allowed in the current rate limit window
X-RateLimit-Reset The number of seconds until the current rate limit window resets
List the errors that you can expect when making calls to this API.
400 Bad request when there was a problem with the request
401 Unauthorized when you don't provide a valid token
429 Too Many Requests when you've gone over your request rate limit
500 Internal Server Error if we messed up -- please let us know!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment