Webbing Wednesdays Week #9

API Application Programming Interface

This webbing Wednesday, Techtic Solutions have come up with another interesting topic of API. Well, lot of times, working on the website, or rather bridging the website with some other source of information or bridging the website with some other website requires some sort of a interfact between the two. Website works on an application layer of the IP Protocol and hence the application programming interface is a necessity for such requirements. We call them API in regular terms. This is the simplest and most generic definition of any API.

Going into the depth of API Definition:

  • The API stands for Application Programming Interface.
  • It can be used to describe features of any library or functionalities or offering the means for utilizing third party features as an interface.
  • APIs are always supplied with the documentation for the same, which has all the features that it can take from some pool of data to anywhere necessary with the guidelines of authentications, functions, response codes, and much more.
  • API acts as a bridge between the two characters, one is a supplier of the features and one is the consumer for the same features, it acts as a third party in the given situation.

Does it mean that the API is very tough to create or takes too much efforts to build one for any given usage? Well there are few simple steps to build a basic API.

Creating an API

  • Well API needs a web page, which will try to locate some third party data and the database which is the third party data. In this situation the API will be written in a way that the web page will call some functions given in the API and API would authenticate the functions, act on the same and get the correct results from the database and showcase it to the web page.
  • An API consist of documentation, conditions, classes, functions, response codes and error message details.
  • The more user friendly and human readable the API is coded, the better it is for anyone to use the API and maximize the utilization of the same.
  • API needs to also describe a way to perform any particular task, the steps to be followed and the details required or supplied for the same.


Functionality – Request – Response

Its true that API creation is not an overnight process and needs indepth knowledge regarding certain programming skills. Certainly, if you are building an API in PHP you have to know XML, JSON and CURL, because the responses that are received from the API are in XML JSON or string format. The request for requesting the information can be passed through CURL, which returns the response in string format.



Security is one of the major aspects of API as it is an interface with possibility to get connected to a huge chunk of data, which everyone should not be allowed to pull data from. For this reason for creating an API it is important to create an API_KEY, username and password. These are the parameters using which the user will be authenticated by the API for having the connection to the data. You can also set unique token for each request.

Popular API Examples

Google Maps API:

Google Maps APIs lets developers embed Google Maps on WebPages using a JavaScript interface which is an API.

YouTube APIs:

Embedding Youtube channels or some other YouTube live streaming can be integrated with the websites using the correct set of API usage provided by YouTube.

Twitter APIs:

Twitter offers two APIs. The REST API allows developers to access core Twitter data and the Search API provides methods for developers to interact with Twitter Search and trends data.

Thank you for reading this article and let us know your feedback and insights on the same. We would love to hear your inputs on the same.

Article Name
Architecture of API (Application Programming Interface)
Application programming interface is by definition a bridge between the two web or database applications, acting as authenticated mediator for sharing data.
Publisher Name
Techtic Solutions
Publisher Logo
Categories: Webbing DevelopmentWebbing Wednesdays
Tags: API Development API Sample Code How to Create API