Skip to main content

API's and how they work explained.

Josh Walker an analyst at forrester research describes building an application with no API as "basically like building a house with no doors. The API for all computing purpose is how you open the doors and exchange information".

What is an API and how it works?

The term API is an acronym, and it stands for "APPLICATION PROGRAMMING INTERFACE".
An API is a computing interface which defines interaction between multiple software intermediaries.

This is the technical defination but for better understanding assume API like a restaurant menu.
The menu provides a list of dishes you can order, along with a description of each dish. When you specify what menu items you want, the restaurant kitchen does the work and provides you with some finished dishes. You do not know exactly how the restaurant prepares that food and you don't really need to.
Similarly
When we use an application on phones or web, the application connects to the internet and sends data to a server. The server then retrive that data interprets, it performs the necessary actions and sends us the info we wanted in a readable way - all of this happens via API.



So here is the main question, why we use API?

If you want to build an application which gives you weather updates but for an application like this you have to get the data and update it on regular basis but by using an API of a weather site this process gets automated only you have to access the data from API and show it on your application.

For more information visit Developersdome.com


For more programming content visit Developersdome.com

Popular posts from this blog

Beautify your VS code

Extensions to make VS code more beautify VS code is the most popular text editor used by web developer. VS code is lightweight, open-source and cross platform these are some main reasons behind the popularity of VS code. But the main reason behind the popularity is VS code is very extensible and you can install extensions for almost all the popular programming languages, you can find an extension or a plugin which will satisfy your need. Most of the text-editors and IDE become slow as you add more extensions to it but that's not the case with VS code.  You can also customize the look and feel of VS code to a great extent using extensions. So, here is the list of my recommended extensions which you can use to increase the beauty of your VS code. 1. Themes   Themes are the first thing that comes in my mind when you start thinking of customization. So, here are my favorite themes.  [ I personally prefer dark themes, So forgive if you don't find good light themes in the list...

Learn web developement for free

 Learn web developement for free  If you ever wanted to learn web developement and you do not have the money to pay to the expensive online courses. Here i came to help you to give you a list of website were tou can learn web developement for free and even some of the listed sites will give you certificates for the completion of the course. You can easily can start learning from these sites . Some things i want to tell you that if you master the any course you must be consistent and practice what you have learn. 1. Coursera ( Visit ) and Udemy ( Visit )  These are the two platforms where you can get huge list of free and paid courses not only  limited web development. In these platform you can get good free courses. They have courses in the form of video lectures. In Coursera you can get apply for a course scholarship. If your application got selected you can get a paid course for free. Most of the courses on these platforms reward you with certificates and have some...

Best Text Editor in 2020 for windows, max, linux.

What is a text editor? A editor  is a program that allows you to open, view and edit plain text files. Unlike word processor, text editors do not add formatting to text, instead focussing on editing functions for plain text. Like notepad, but in order to provide most of the modern conveniences like syntax linting, error correction, project folders organisation and build tools now text editors provide all this and much more. Best text editors in 2020 are :- 1. Sublime Text Sublime text allows you to write code efficiently. Here you can do all that you want to do within the coding process, and it has lots of plugins and packages to customize the platform directly to your needs. Sublime text is build on python and c++. The latest version of sublime text is known as sublime text 3.   Top features of Sublime Text  Go to anything using this you can open files with only a few keystrokes and instantly jumps to symbols, lines or words. Multip...