call(back)

What Is an API?

What is an API?

Answer out loud in under a minute: a definition, one concrete example, and one pitfall or trade-off.

Hints

Hint 1

Define it as a contract, and name what the contract covers.

Solution

Show the approach

Answer

An API is a contract for how one piece of software calls another: the operations, their inputs and outputs, and the errors.

Assistant

Sign in to use the assistant — ask what the problem means, get a hint when you're stuck, or have your current work reviewed. Conversations save to your account.

Asked at

Similar Problems4