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

  1. Client opens a URL/URI with http protocol
  2. Http sends a get command
  3. Server receives request and returns the file as a html

API Types