aksnell / assignments

0 stars 0 forks source link

04 - 02 - API Client #13

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 from code, 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

Build a command line link shortening tool using this API: https://rel.ink/

Determine for yourself how you would like the tool to work, what the output would look like, etc.

Epic Mode

Use the site Mockaroo to create a mock API. You may need an account and then learn how their "Mock API" feature works.

Once you have created your Mock API for whatever schema you wish, implement a client application to work with it.

aksnell commented 4 years ago

https://github.com/aksnell/api-client

There was an additional end point to return ten random jokes, but I prefer quality to quantity.

gstark commented 4 years ago

Very nice!

gstark commented 4 years ago

I appreciate the Sleep while waiting to see the punchline.