Code Safari

Chapter 70·Beginner

What Is an API? Contracts Between Programs

01 / 06

The core idea

A defined way to ask one program for something.

An API is a contract: a set of operations one program exposes so others can use it, without knowing how it works inside.

What Is an API? Contracts Between Programs | Code Safari