aksnell / assignments

0 stars 0 forks source link

04 - 01 - GET https://intro-to.api.com/knowledge #12

Closed aksnell closed 4 years ago

aksnell commented 4 years ago

In this project, you will practice accessing an API. You'll see how an API request is made, and see how data is returned from an API

Objectives

Explorer Mode

API Documentation
Dogs https://dog.ceo/dog-api/
Studio Ghibli https://ghibliapi.herokuapp.com/#tag/Films
Open Brewery https://www.openbrewerydb.org/
Recipes http://www.recipepuppy.com/about/api/
Deck of Cards! http://deckofcardsapi.com/
Geocode https://geocode.xyz/api
Jobs https://jobs.github.com/api
Lyrics https://lyricsovh.docs.apiary.io/#reference
Quotes https://pprathameshmore.github.io/QuoteGarden/
SpaceX https://docs.spacexdata.com/?version=latest
Jokes https://github.com/15Dkatz/official_joke_api

Adventure Mode

Read the documentation on this API: https://one-list-api.herokuapp.com/

Choose your access token from your first and last name. For example jane-doe or ron-swanson.

Epic Mode

aksnell commented 4 years ago

https://imgur.com/a/V48HTEK

That contains 3 requests + a head image.

For a few headers,

set-cookie tells the browser to store a cookie which the server can request back later.

date is the time in which the message originated.

age is how long in seconds the image has been in a proxy cache before being served to you, 0 indicates it was actually sent from the origin.

accept ranges indicates the origin allows partial requests from the browser indicated in a range of some unit, which in this case is bytes.

aksnell commented 4 years ago

Your homework 04 - 01 - GET https://intro-to.api.com/knowledge was marked: Meets Expectations

Great job!

“Great job!”