Pursuit-Core-Introduction-To-Networking-and-APIs-Lab

Part One

API Scavenger Hunt!

For each of the questions below, identify a website and search query that will give you the appropriate JSON. Paste the url and a snippet of the json below. Googling the category + API will generally take you to where you need. Ex. https://lmgtfy.com/?q=cat+fact+api

  1. A random cat fact
  2. A list of 150 random users in English.
  3. All the repos on Github with Pursuit their name
  4. All the JavaScript repos on Github with Pursuit in their name
  5. All the Swift repos on Github with Pursuit in their name
  6. A list of all Pokemon
  7. A list of all items in Fortnite
  8. A list of all Game of Thrones Episodes.
  9. A list of all songs with "Love" in the title.
  10. All information about Petyr Baelish from the Game of Thrones books
  11. All the movies Leonardo Dicaprio has acted in

Part Two

Status Code Scavenger Hunt!

Use Postman to find each of the following HTTP codes:

  1. 200
  2. 301
  3. 400
  4. 401
  5. 403
  6. 404
  7. 418
  8. 500

For each of the questions below, write:

  1. The website which generated the HTTP status code
  2. A description of what the status code means
  3. If an app you were writing encountered this status code, what would you do (if anything) to resolve any issues?

For reference, see:

https://en.wikipedia.org/wiki/List_of_HTTP_status_codes (Links to an external site.) https://http.cat