What Are APIs|How can we Use API In Our Program


API is everywhere. Did you ever asked, “What the hell is it?”.The Simple answer is Application Programming Interface. what is that basically means.

Wikipedia Definition
“In computer programming, an application programming interface (API) is a set of subroutine definitions, protocols, and tools for building application software. In general terms, it is a set of clearly defined methods of communication between various software components”.
Simple Definition
An application programming interface (API) is code that Permitsor allows two software programs to talk with each other .

An API delivers your request to the source or provider that you are requesting it from.

And then delivers the response for the request back to you.This is what it actually does.

Today we have everything at your fingertip.we can order food from our home.we can book flight tickets from our home,we can do almost everything with your phone or a desktop

How do these happen?

How do these applications and these devices connect with each other and allowing us to place orders for different things? In these situations, we have a life savior, Application Programming Interface.

But You and I call him in love as API.

A Real-Life Example For API

Let’s Take a real-life example. We are booking a flight ticket. We want to find a cheap flight among all the airline companies.It is not possible to go to all airline companies and find the cheapest ticket .

So majority of us will go to online travel service websites.

If you are using an online travel service, How they are getting the exact amount for the ticket. This is where API is used.

The travel service interacts with the airline’s API. API is the interface that gets information from the airline system over the Internet to book seats, choose meal preferences or baggage options .it also takes the Airlines response to your request and delivers it right back to the online travel service.

Which is the information finally the online travel service is shown to you. So now you can see that it is API that makes it possible for us.

The same goes for all interactions between applications data and devices,for example, OpenWeatherMapAPI

They all have API’s that allow computers to operate them.And that’s what ultimately creates connectivity.

so whenever you think of an API just think of it as your waiter running back and forth between application’s databases and devices to deliver data and create the connectivity that puts the world at our fingertips.

If you want to know how to use APIs in your program ,there is a simple tutorial on How To Using APIs With Python.You can Read It for better understanding.

Read More About API Management Here

Similar Posts:


You May Also Like

About the Author: shakirck

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.