Services Work Learn About Contact
0/8
Lesson 1 of 8

What is an API?

An API (Application Programming Interface) lets two pieces of software talk to each other. When you use a weather app, it calls a weather API to get data. When you log into a website with Google, it uses Google's API.

REST is the most common API style. It uses URLs and HTTP methods to perform actions on resources.

APIS
# Real-world API examples:
# - Weather data: api.openweathermap.org
# - Maps: maps.googleapis.com
# - Payments: api.stripe.com
# - Social media: api.twitter.com

# REST treats everything as a resource:
# /users       = all users
# /users/1     = user with ID 1
# /products    = all products
🧠

Quick Quiz

Answer correctly to unlock the next lesson.

Support the mission

This learning platform is 100% free: no ads, no tracking, no paywalls. If it helped you learn something useful, you can support future lessons or donate to Doctors Without Borders, which provides emergency medical care in crisis zones worldwide.

🎉

You completed APIs & REST!

You finished all 8 lessons and quizzes. You now know the basics of APIs & REST.