Application programming interface
An application programming interface (API) is a set of functions, procedures, methods, classes or protocols that an operating system, library or service provides to support requests made by computer programs. Mainly there are two kinds of APIs –
• Language-dependent APIs are available only for a particular programming
language. In that case those APIs use the syntax and other elements of
the programming language to make the API convenient to use inthe
particular context.
• Language independent APIs are written in such a way that they can be
called from many programming languages. This is a favorable feature for a
service-style API which is not bound to a particular process or system and is
available as a remote procedure call.
|