50% found this document useful (2 votes)
717 views

API Presentation

This document provides an introduction to APIs (application programming interfaces). It defines an API as a set of routines, protocols, and tools for building software applications. APIs allow different software programs to communicate with each other. They work by allowing developers to access public-facing API functions, which then pass the provided information to private functions that execute the necessary code. Documentation tells developers how to use specific APIs. APIs are useful because they allow for functionality upgrades without code modifications, minimize changes when data structures change, provide common functionality, and are faster and more reliable than system calls. The document also gives examples of the Google Maps API and Facebook Like API and discusses APIs in cloud computing.

Uploaded by

nityakulkarni
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
50% found this document useful (2 votes)
717 views

API Presentation

This document provides an introduction to APIs (application programming interfaces). It defines an API as a set of routines, protocols, and tools for building software applications. APIs allow different software programs to communicate with each other. They work by allowing developers to access public-facing API functions, which then pass the provided information to private functions that execute the necessary code. Documentation tells developers how to use specific APIs. APIs are useful because they allow for functionality upgrades without code modifications, minimize changes when data structures change, provide common functionality, and are faster and more reliable than system calls. The document also gives examples of the Google Maps API and Facebook Like API and discusses APIs in cloud computing.

Uploaded by

nityakulkarni
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

INTRODUCTION TO API

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.

How do APIs work?

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.

Why are APIs used?


Programming with APIs is useful for these reasons: No code modifications are required as functionality is upgraded. When a data structure changes, source modifications are minimal to nonexistent. Common functionality is provided through the APIs, and they are less prone to error. Faster and more reliable than the in-built system calls.

API in cloud computing

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

You might also like