Skip to content

Latest commit

 

History

History
235 lines (139 loc) · 10.7 KB

course-notes.md

File metadata and controls

235 lines (139 loc) · 10.7 KB

Introduction to APIs 2019

THERE IS A NEWER VERSION FOR 2023!!!!

⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️

This course has been deprecated! That means that you should no longer use it, you should head to the newer 2023 version!

Watch the video on freeCodeCamp

2023 notes

⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️

Unit 1 - What is an API

In this unit we'll define what an API, or Application Programming Interface is and why you should use them.

Video 1 - Welcome

👋 Hello and welcome to the course and your notes! Make sure you check this area out often!

👀 - Beginner content

📚 - Designing API Content

Video 2 - Defining Interface

📚 - Learn more

Media Player APIs

Don't worry about understanding it, just appreciate their complexity

Video 3 - Defining API

📚 - Learn more

Video 4 - Remote APIs

Video 5 - How the web works

Video 6 - RESTful API Constraint Scavenger Hunt

Unit 2 - Exploring APIs

Video 1 - Exploring an API online

👀 - Explore

ProgrammableWeb provides a categorized directory of APIs. API List provides categories and a powerful search feature.

Video 2 - Using an API from the command line

cURL

Mac OS
Using Homebrew
brew install curl
Download

⬇️ - Download cURL for MacOSX

Windows

⬇️ - Download cURL for Windows

NOTE: If you are running PowerShell, delete the curl alias for Invoke-WebRequest by adding the following command to your profile (C:\Users\<username>\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1):

Remove-Item alias:curl

📚 - Learn More

Video 3 - Using Postman to explore APIs

⬇️ - Download Postman

The Twilio Messages API URL is:

https://api.twilio.com/2010-04-01/Accounts/<Your Account SID Here>/Messages.json

Make sure to replace that SID with your Account SID which can be found in the Twilio console

Video 4 - Please please Mr. Postman

⬇️ - Many wonderful API Collections can be downloaded for exploration in the Postman API Network

📚 - Learn more

Video 5 - Using Helper Libraries (JavaScript)

To use the Twilio Node Helper Library

npm install twilio

📚 - Learn More

Video 6 - Using Helper Libraries (Python)

To use the Twilio Python Helper Library

pip install twilio

Unit 3 - Using APIs

Video 1 - Introducing the project

📚 - Learn more

Video 2 - Flask app

⚠️ Several students have reported that cloning sets up a default Glitch application. If this happens to you, in the Glitch app that is created choose "Tools >> Extras >> Git Import and Export >> Import from GitHub" when prompted enter "craigsdennis/intro-to-apis-node" or "craigsdennis/intro-to-apis-flask"

Complimentr Flask GitHub repository is located at https://github.com/craigsdennis/intro-to-apis-flask.git

📚 - Learn more

Video 3 - Dealing with API Limits

📚 - Learn more

Video 4 - JavaScript Single Page Application

⚠️ Several students have reported that cloning sets up a default Glitch application. If this happens to you, in the Glitch app that is created choose "Tools >> Extras >> Git Import and Export >> Import from GitHub" when prompted enter "craigsdennis/intro-to-apis-node" or "craigsdennis/intro-to-apis-flask"

Complimentr Node.js GitHub repository is located at https://github.com/craigsdennis/intro-to-apis-node.git

📚 - Learn more

Video 5 - Moar JavaScript and Recap

Video 6 - Review

I built a little Twilio application using Studio and some APIs to gather your feedback.

Please text FEEDBACK to me at (503) 461-5537 and let me know what you thought about this course! (You can also call if that's your jam)

👋 Thanks for hanging out! 🙏 Keep me updated on your journey 💪🚀!

@craigsdennis

PS. If you want to keep on learning for free, I can't recommend the video game TwilioQuest 🎮 enough.

📚 - Learn more