An API is an interface and set of rules through which software components request data or actions from one another. Its contract defines operations, inputs, outputs and errors; documentation explains how to use it.
API
An API is an interface and set of rules through which software components request data or actions from one another. Its contract defines operations, inputs, outputs and errors; documentation explains how to use it.