Skip to content

Instantly share code, notes, and snippets.

@ChaplainsBud
Created October 24, 2018 04:05
Show Gist options
  • Select an option

  • Save ChaplainsBud/51656905c8c0ea64e48f5e68d0a15ed5 to your computer and use it in GitHub Desktop.

Select an option

Save ChaplainsBud/51656905c8c0ea64e48f5e68d0a15ed5 to your computer and use it in GitHub Desktop.
Thinkful Homework

Three Assingments:

  1. YouTube API documentation for subscription list endpoint documentation

A. required parameter: part , data type: string , example:

https://www.googleapis.com/youtube/v3/subscriptions?channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&key=AIzaSyBlRkIdNZvPtUAg1WeOFGAPLpTCRQmYZjc&part=snippet

B. i. optional parameters: maxResults , data type: string , example: (maxresults=5)

https://www.googleapis.com/youtube/v3/subscriptions?channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&maxresults=5&key=AIzaSyBlRkIdNZvPtUAg1WeOFGAPLpTCRQmYZjc&part=snippet

ii. optional parameters: pageToken , data type: string , example: (alphabetical)

https://www.googleapis.com/youtube/v3/subscriptions?channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&maxresults=5&order=alphabetical&key=AIzaSyBlRkIdNZvPtUAg1WeOFGAPLpTCRQmYZjc&part=snippet

  1. Construct the full URL request for the geographic coordinates of The State of Liberty in JSON: Keyless access to Google Maps Platform is deprecated. B. My own address: Keyless access to Google Maps Platform is deprecated.

  2. meetup.com api

a. Does this API require authentication? Yes b. 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."

c. Events search endpoint documentation. Describe in detail the response format of the events search endpoint:

City Object: Details Events Object: Array of Objects a.Group b. Link c. Created

When you get the city object, choosing a location, you return an object that identifies the address, and an array of objects that identify events according to group, link, and origin.

After choosing the city and

  1. What are the limitations placed on the number of requests that can be made?

There is an x-rate limit of 30 requests. There's no indication of when the number is reset.

  1. 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

@ChaplainsBud
Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment