APIs allow access to information of a website while limiting access. They are designed to make common problems for developers easier
Code Based
Built in functions like .upper() or import os are APIs
APIs I’ve used today:
- API that saves files on my specific os
- API to watch youtube
How the web works
- Client opens a URL/URI with http protocol
- Http sends a get command
- Server receives request and returns the file as a html