What Is An API
What Is An API
Presented by:
Mr. Amanj (Click Company)
With Sincere gratefulness
Under Supervision
Assist. Prof.
Dr. Rebwar Mala Nabi
Academic Year
2021-2022
Page 1 of 5
Sulaimani Polytechnic University Click Company
What is an API?
API is an abbreviation for Application Programming Interface which is a collection of
communication protocols and subroutines used by various programs to communicate
between them. A programmer can make use of various API tools to make its program
easier and simpler. Also, an API facilitates the programmers with an efficient way to
develop their software programs.
Thus in simpler terms, an API helps two programs or applications to communicate with
each other by providing them with necessary tools and functions. It takes the request
from the user and sends it to the service provider and then again sends the result
generated from the service provider to the desired user.
A developer extensively uses APIs in his software to implement various features by
using an API call without writing the complex codes for the same. We can create an
API for an operating system, database systems, hardware system, for a JavaScript file or
similar object-oriented files. Also, an API is similar to a GUI (Graphical User Interface)
with one major difference. Unlike GUI’s, an API helps the software developers to
access the web tools while a GUI helps to make a program easier to understand by the
users.
Page 2 of 5
Sulaimani Polytechnic University Click Company
see from this example how an API works and it has numerous applications in real life
from switching on mobile phones to maintaining a large amount of databases from any
corner of the world.
There are various kinds of API’s available according to their uses and applications like
the Browser API which is created for the web browsers to abstract and to return the data
from surroundings or the Third party API’s, for which we have to get the codes from
other sites on the web(e.g. Facebook, Twitter).
Types of APIs:
There are three basic forms of API-
1. WEB APIs:
A Web API also called as Web Services is an extensively used API over the
web and can be easily accessed using the HTTP protocols. A Web API is an
open-source interface and can be used by a large number of clients through
their phones, tablets. or PC’s.
2. LOCAL APIs:
In these types of API, the programmers get the local middleware services.
TAPI (Telephony Application Programming Interface), .NET are common
examples of Local API’s.
3. PROGRAM APIs:
It makes a remote program appears to be local by making use of RPC’s
Page 3 of 5
Sulaimani Polytechnic University Click Company
Advantages of APIs –
Efficiency: API produces efficient, quicker and more reliable results than the
outputs produced by human beings in an organization.
Flexible delivery of services: API provides fast and flexible delivery of
services according to developer’s requirements.
Integration: The best feature of API is that it allows movement of data
between various sites and thus enhances integrated user experience.
Automation: As API makes use of robotic computers rather than humans, it
produces better and automated results.
New functionality: While using API the developers find new tools and
functionality for API exchanges.
Page 4 of 5
Sulaimani Polytechnic University Click Company
Disadvantages of APIs –
Cost: Developing and implementing API is costly at times and requires high
maintenance and support from developers.
Security issues: Using API adds another layer of surface which is then prone
to attacks, and hence the security risk problem is common in API’s.
Best of LUCK
Page 5 of 5