API, definition and list of those you need to know
The API is, with the programming language, the main tool for a programmer, as before to start with any project one should search for APIs that will avoid to rewrite already existing code.
An API (Application Programming Interface) is a set of
- functions headings,
- classes and their members (for an object-oriented language)
which are provided by a software library, a web service, an operating system, so they can be used to program a software that use them.
The implementation of functions and classes, which may be hardware specific, is not a part of the API which is hardware independent, however the API exists onlly if you have at least one implementation.
Defining such an interface is not limited to libraries, an API can also be defined for a final application so it can communicate with other applications.
Characteristics of APIs
Dependence on language
An API can be used in a single programming language or be independent to languages. In the latter case an intermediate language like XML can be used as data format for queries to the functions and methods.
It is free licensed and available without charge by any programmer, or proprietary licensed and accessible only to a restricted community, for example APIs for console games.
There are high-level API in terms of programming language, such as graphics APIs or ABIs (Application Binary Interfaces) close to the system, like the Linux Standard Base, as the interface of hardware drivers.