#What is an API?
#Overview
- What is an API?
- Consumption: Omdbapi Example
- Providing: PetWorld
- Challenge Prep
- Review
#What is an API?
- API is an Application Programming Interface
- Whiteboard User Interface / API
- Search Programmable Web:
- See if the applications you love have an API
- Twitter Documentation
#Consumption: Omdbapi Example
- movies_api_single_file
- Secure Your Tokens - DONT CHECK THEM IN!
dotenv
-.env
fileYAML.load()
- in*.yml
#Providing: PetWorld
- RESTish - CRUD
- Richardson Maturity Model
- HTTP Methods and Verbs
- JSON +?
- Only Provide what you need
- For External or Internal Use
- Authentication
- Talk about OAuth Later
- Key
- Exchange AppID and Secret for Token
- Header vs Param
- Often served over HTTPS
- Sinatra Moduluar Configuration - check it out
- petworld
- Postman Collection for Pet World
#Challenge Prep
- Challenge is to BUILD an API
- /build_an_api_challenge
- Postman Chrome Extension
- Petworld Example
#Review
- API is an Application Programming Interface
- For Web Applications:
- JSON reponses
- SOAP
- Consumption either Server Side or Client Side
- Providing: PetWorld
- Challenge Prep
#Related Resources