api  full form application programming interface (API

n
application programming interface (API) is associate interface or communication
protocol between totally different elements of a trojan horse supposed to
change the implementation and maintenance of code.
An API is
also for a web-based system, software, info system, component, or code library.
An API
specification will take several forms, however typically includes
specifications for routines, knowledge structures, object categories,
variables, or remote calls. POSIX, Windows API and ASPI are samples of totally
different kinds of arthropod genus. Documentation for the API typically is
provided to facilitate usage and implementation.
More
recently, the term has been typically wont to talk over with a selected
reasonably interface between a shopper and a server, that has been delineate as
a “contract” between each – such if the shopper makes missive of invitation
during a specific format, it’ll continuously get a response during a specific
format or initiate an outlined action. this is often a specialised sort of API,
typically outlined as an internet API.

api  full form application programming interface
(API) Purpose


In building applications,
associate degree API (application programming interface) simplifies programming
by abstracting the underlying implementation and solely exposing objects or
actions the developer desires. whereas a graphical interface for associate
degree email consumer may offer a user with a button that performs all the
steps for winning and highlight new emails, associate degree API for file
input/output may provide the developer a operate that copies a file from one
location to a different while not requiring that the developer perceive the
classification system operations occurring behind the scenes

api  full form application programming interface
(API)
Libraries
and frameworks

An API
sometimes is expounded to a package library. The API describes associated
prescribes the “expected behavior” (a specification) whereas the
library is an “actual implementation” of this set of rules.
A single API
will have multiple implementations (or none, being abstract) within the type of
totally different libraries that share constant programming interface.
The
separation of the API from its implementation will enable programs written in
one language to use a library written in another. as an example, as a result of
Scala and Java compile to compatible bytecode, Scala developers will profit of
any Java API
API use will
vary looking on the sort of programing language concerned. associate API for a
procedural language like Lua might consist primarily of basic routines to
execute code, manipulate information or handle errors whereas associate API for
an object-oriented language, like Java, would offer a specification of
categories and its category ways

Operating systems

An API will
specify the interface between an application and therefore the OS. POSIX, for
instance, specifies a group of common Apis that aim to modify associate degree
application written for a POSIX conformant OS to be compiled for an additional
POSIX conformant operating system.
Linux and
Berkeley package Distribution are samples of operational systems that implement
the POSIX Apis.
Microsoft
has shown a robust commitment to a backward-compatible API, significantly
inside its Windows API (Win32) library, therefore older applications might run
on newer versions of Windows exploitation associate degree executable-specific
setting known as “Compatibility Mode