3. WHAT IS API ?
• API stands for application programming interface—
a set of definitions and protocols to build and integrate
application software
• APIs are mechanisms that enable two software
components to communicate with each other
5. TYPES OF API
There are four different types of APIs commonly used
• PUBLIC Open to anyone, No Restriction
• PRIVATE Accessible by authorized users and some may give usage restrictions
• PARTNER Used to communicate between two strategic business partners
• COMPOSITE Approachto batch API requests sequentially into a single API call.
6. WHAT IS WEB API
• Web API is a System to System interaction, in which the
dataor informationfrom one system can be accessed by
another
system, after the completion of execution the resultant
dataor we
can say as output is shown to the viewer.
• Used as an interfacebetween two different applications
for
communicatingwitheach other.
Exampleof API
• Google Map API
• Youtube API
7. SOAP (SIMPLE OBJECT ACCESS PROTOCOL APPLICATION) API
• SOAP is a messaging protocol specificationfor exchanging structured informationin the
implementation of web services in computer networks
8. REST (REPRESENTATIONAL STATE TRANSFER) API
RESTful API is an architectural style for an application program interface (API) that uses
HTTP requests to access and use data.
9. SOAP V/S REST API
• The main difference is
that SOAP is a structured
protocol, while REST is more
flexible and less defined. REST
and SOAP are two different
ways to connect applications
with server-side data. Both of
the API formats use data that
both humans and machines can
read, and both often use HTTP
protocols.