product image

What is an API?

Ask a live service a question - in your browser, then in Python

The idea behind almost every app, made real in 15 minutes.

An API is one program asking another for information. In this free lesson you ask GitHub’s public API about real projects - first with nothing but your web browser, then with a tiny Python program that turns the answer into plain words. No account, no key, no sign-up.

What you’ll learn

  • What an API is (the restaurant-menu way)
  • Sending a real request from your browser
  • Reading the answer and picking out one fact
  • Running a small program that asks for you
  • What the common errors mean (404, the hourly limit, no internet)

What you get

  • A step-by-step course with real screenshots
  • A 30-second explainer video
  • project_info.py and a one-page how-to

Who it’s for: beginners who’ve done What is Python?

Time: about 15 minutes.

Next lesson: What is JSON?