Difference between revisions of "Application programming interface"
Karl Jones (Talk | contribs) (data str) |
Karl Jones (Talk | contribs) (Class (computer programming)) |
||
Line 15: | Line 15: | ||
== API libraries == | == API libraries == | ||
− | APIs often come in the form of a library that includes specifications for routines, [[Data structure|data structures]], object classes, and variables. | + | APIs often come in the form of a library that includes specifications for routines, [[Data structure|data structures]], [[Class (computer programming)|object classes]], and variables. |
In other cases, notably [[SOAP]] and [[REST]] services, an API is simply a specification of remote calls exposed to the API consumers. | In other cases, notably [[SOAP]] and [[REST]] services, an API is simply a specification of remote calls exposed to the API consumers. |
Revision as of 05:45, 8 June 2015
In computer programming, an application programming interface (API) is a set of routines, protocols, and tools for building application software.
An API expresses a software component in terms of its operations, inputs, outputs, and underlying types.
An API defines functionalities that are independent of their respective implementations, which allows definitions and implementations to vary without compromising each other.
A good API makes it easier to develop a program by providing all the building blocks. A programmer then puts the blocks together.
APIs and Programming GUI Components
In addition to accessing databases or computer hardware, such as hard disk drives or video cards, an API can ease the work of programming GUI components.
For example, an API can facilitate integration of new features into existing applications (a so-called "plug-in API"). An API can also assist otherwise distinct applications with sharing data, which can help to integrate and enhance the functionalities of the applications.
API libraries
APIs often come in the form of a library that includes specifications for routines, data structures, object classes, and variables.
In other cases, notably SOAP and REST services, an API is simply a specification of remote calls exposed to the API consumers.
External links
- Appplication programming interface @ Wikepedia