Professional Documents
Culture Documents
MORE ON API
API refers to a set of tools and protocols prescribed by a computer operating system or
another app by which a developer writing a program can make requests.
It defines the kinds of calls or requests that can be made, how to make them, the data
formats that should be used, the conventions to follow, etc.
As the name insinuates, and API specifies how a developer interacts with hidden methods
and classes in a library or application.
An API is a collection of software protocols that a developer can access through contract or
agreement.
MAIN DIFFERENCE
The main difference is that the library refers to the code itself, while API refers to the
interface (interfacing is done through requests to the API).