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.

Asked at