Application Programming Interface
- GUI : Graphical UserInterface
- To be RESTFULL
- Client-Server Archtecture
- Statelessness
- Cacheability
- Layered System
- Code on Demand
- Uniform Interface
In this unit we'll define what an API, or Application Programming Interface, is and why you should use them.
๐ Hello and welcome to the course and your notes! Make sure you check this area out often!
- freeCodeCamp.org is a great place to get started and I recommend jumping right in.
- ๐ฟfreeCodeCamp on YouTube provides a wonderful collection of beginning programming courses. I recommend the ๐ฅ JavaScript tutorial.
- ๐ REST API Design Best Practices - freeCodeCamp
- ๐ฟ What exactly is an API - ProgrammableWeb 101
- ๐ API Guide - moesif
Don't worry about understanding these, however, appreciate their complexity
- SOAP - Wikipedia
- Remote Procedure Call (RPC) - Wikipedia
- SOAP and REST at Odds
- SOAP vs. REST
- REST vs. RPC
In this unit, we'll do some hands-on exploring of a couple of popular APIs.
- Spotify for Developers
- ๐Spotify Console
- ๐ฆBeyonce's Spotify Page
- Beyonce's Spotify ID:
6vWDO969PvNqNYHIOW5v0m
- ProgrammableWeb provides a categorized directory of APIs.
- API List provides categories and a powerful search feature.
brew install curl
โฌ๏ธ Download cURL for MacOSX
โฌ๏ธ 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
- ๐ Command Line for Beginners โ How to Use the Terminal Like a Pro - freeCodeCamp
- Check out the jq tutorial for parsing JSON on the command line
- cURL manpage
- POST (HTTP) - Wikipedia (For info on
form-urlencoded
search for "Use for submitting web forms")
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
- ๐ก Govee Aura Smart Table Lamp
- โฌ๏ธ RestFox (REST API Client)
- โฌ๏ธ Visual Studio Code (code editor)
- โฌ๏ธ Thunder Client for VS Code
- ๐๐ Postman Student Expert Certification Program
- ๐ฟ Postman Webinars
- โฌ๏ธ Many wonderful API Collections can be downloaded for exploration in the Postman API Network
- ๐ฟ What is the file system and why should I learn about it? - Developer Fundamentals - YouTube
- Command Line Interface - VSCode
- โฌ๏ธ Install Node.js (JavaScript runtime)
- ๐ Promise - mdn
- ๐ Async / Await - mdn
- ๐ฟ What is my System Path? - Developer Fundamentals - YouTube
To use the Twilio Node Helper Library
npm install twilio
Windows
Make a directory named scratch
mkdir scratch
In this unit, we'll build a single page application that makes use of a client side framework and it's APIs. We'll create a server side API to feed our application, and reshape data from a public Web API. That's a lot of APIs!
- ๐ฟ What do tutorials mean when they say my shell? - Developer Fundamentals - YouTube
- ๐ฉโ๐ป The code (index.html)
- Vue.js - Front-end JavaScript Framework
- Vue SilentBox Plugin
Windows To open an HTML file in your default browser from the command line:
start .\index.html
- ๐ฉโ๐ป The code (/incoming-message)
- Serverless Computing - Wikipedia
- Serverless on Twilio
- ๐ฟ Understanding Webhooks - freeCodeCamp - YouTube
- ๐ฉโ๐ป The code (/api/pics)
- ๐คท Example NSFW Detection API
- Everything You Need To Know About API Rate Limiting - Nordic APIs
- ๐ฉโ๐ป The updated code (index.html)
- ๐ fetch API - mdn
- ๐ REST Architectural Constraints - Scavenger Hunt PRIZE!
- ๐ฟ Learn Twilio Messaging, Voice, and Serverless (Full Course!)
I built a little Twilio application using Studio and some APIs to gather your feedback.
Please text FEEDBACK
to me at (432) 527-4274 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 ๐ช๐!
PS. If you want to keep on learning for free, I can't recommend the video game TwilioQuest ๐ฎ enough.
taken from [Link](https://github.com/TwilioDevEd/> introduction-to-apis-notes)