API Presentation
API Presentation
By Nitya.N.Kulkarni 2SD09CS057
CONTENTS
What is an API? How do they work? Why are APIs used? APIs in cloud computing Examples of API. Conclusion
What is an API?
A PI is an abbreviation for application programming interface. It is a set of routines, protocols, and tools for building software applications. W ikipedia- An application programming interface (API) is a protocol intended to be used as an interface by software components to communicate with each other.
Public Facing Functions: Developers access APIs by calling a public facing function. For every API function, the programmer has to provide certain pieces of information, also called arguments, for the function to work. Private Functions: After a programmer calls a public-facing API function, the information provided is then passed into a variety of private functions that actually execute the code necessary to interact with the hardware component or perform the software service necessary to complete the request whose result is passed to the program which called public API function. Documentation: The programmers who create APIs provide documentation that tells other programmers how to use the API.
The ability to enhance the cloud experience and have crosscloud compatibility has helped form the Cloud API (Application Programming Interface) environment. There are four major areas where cloud computing will need to integrate with another platform (or even another cloud provider),
PaaS APIs (Service-level) SaaS APIs (Application-level) IaaS APIs (Infrastructure-level) Cloud provider and cross-platform APIs.
Examples of API
Google Map API: By using the Google Maps API, it is possible to embed Google Maps site into an external website, on to which site specific data can be overlaid. Facebook Like API: Using Facebook Like API , the Like button of Facebook can be accessed by people in other webpages.
Conclusion
Thus an API is like a window through which different applications can communicate with each other.
THANK YOU