What is an API
What is an API? Well, if you are not a programmer or an IT
person, then this problem can be tricky for you. A simple, complete form of API
is an application programming interface. A typical API definition in
programming is that it is a combination of functions and programs that allow
you to create an application that accesses data from other services.
We can also say that the API is a mode of communication
between software. Now those software that interacts with the API may be
thousands of miles away or may reside on the same system.
Let us understand what is the API? Give a simple example
Let's discuss the work of your phone's Facebook application.
There is an application on your mobile phone. The Facebook server stores all
the information and data in the remote location. There is now a link between
your mobile server and the application in the remote server, which is called
the API. Your mobile application calls the API to receive, send, and modify
data from remote servers.
This is the simplest job of an API. The API provides more
and more complex functions, such as providing a security layer and so on.
What is the type of API now?
1: Web API:
Some Web APIs are called
Answer: Simple Object Access Protocol (SOAP)
B: Remote Procedure Call (RPC)
C: Representational State Transfer (REST).
2: Source Code API:
The source code API provides objects, classes, etc. Source
code APIs are often used in development projects to create composite
applications. These calls are based on the standards of the application
environment (such as J2EE or .NET).
Comments
Post a Comment