Uni-Sine

APIs lessons

Back to course
Progress
1/32
--XP

What is an API

Restaurant analogy illustration: client, API and server with request/response arrows.

An API (Application Programming Interface) is a set of rules that lets one program talk to another. It defines what you can ask for, how to ask, and what you get back.

Think of a restaurant: you (the client) give your order to a waiter (the API), who takes it to the kitchen (the server) and brings back your food (the response).

APIs power everything from weather apps to payment systems. Any time two pieces of software exchange data, an API is involved.