API?
In this blog, I will discuss the API or what is it
or what it provides the benefits. In most of the cases user heard about this
term API means what is this terminology and how this will help in many other
aspects like in web or mobile app etc. So let’s get started with:
What
is API?
What
is API?
API is an acronym of the “Application programming interface”.
Which is used for providing the communication between your application to other
applications here application can be anything, for example, web app or mobile or
hardware, etc.
Why API? As we know
it is used for communication between your machines to others but it is internally used means using API you fetch other server data and used into your
machine. Now where it is used? You can use the API in your web or either in
your business. In real-world many big or start-ups companies used the API for
your business. For example, you can check the flight booking websites where they
fetch different flight booking data and tells you the where sheets are vacant.
If we talk about in which
format API returns the data so the answer for this is: API returns the in the
format of XML and JSON format.
Now let’s understand the API
using an example:
First, imagine you are in
restaurants and you have a menu in your table and you call the waiter and request
the order. Second, the waiter takes a request from you and send a request to the kitchen.
And third, the waiter takes the response from the kitchen and serves you.
So here I have mentioned
three steps, so let’s clear it out,
·
In the first case, you request some order.
·
Second, a request is sent to the kitchen by the waiter.
·
And
in the third, you get a response from the kitchen by the waiter.
So here waiter is playing a
role of an API which provides the communication between you and the kitchen and
delivered the data. Now technically understand this API as a waiter which “Running
back and forth between application, database and devices to deliver data and
create the connectivity the puts worlds at our fingertips”.
Benefits of API:
Benefits of API are discussed below:

Comments
Post a Comment