What is the API?

API stands for Application Programming Interface, an intermediary software that allows two applications to talk to each other. Every time you use an app like Facebook, send an instant message or check the weather on your phone, you are using the API.

An example of an API

When using an application on a mobile phone, the application connects to the Internet and sends data to the server. After that, the server retrieves that data, interprets it, performs the necessary actions and sends it back to the phone. The application will then interpret that data and present the information you want in a readable way.

What is the API? Picture 1

For ease of understanding, see a familiar example later.

Imagine, in a restaurant, you are a customer ordering food and the kitchen is part of the 'system' to prepare the menu for you. What is missing here is an important link to convey customers' requests to the kitchen and deliver food to their tables. This important link is a waiter or API. Waiter - API is the messenger, will receive requests to order and communicate back to the kitchen - the system. After the food is ready, the waiter will deliver it to the customer.

This is a practical example of API. You may be familiar with the process of searching for online flights. Just like a restaurant, you have a variety of options such as different cities, departure dates and return dates, etc. Imagine you are booking a flight on an airline website. You can choose your destination, date of departure, date of return, type of ticket as well as many other options. To book a flight, you need to interact with the airline website to access their database and see the availability of a seat on a certain day and how much it will cost.

However, what if you do not use the airline website - what does a channel have direct access to information? What if you are using online travel services, such as Kayak or Expedia, so how do you access airline data engines?

In this case, the travel service interacts with the airline's API, requesting it to retrieve information from the airline's database. The API then passes the airline's feedback to the customer's request and passes it back to the online travel service, showing you the most up-to-date related information.

API provides a layer of security

Your phone data should never be 'exposed' entirely to the server, and similarly, the server is the same. Instead, each time communicating with small packets, it only shares the essentials. Like ordering, you tell the restaurant what you want to eat, they will bring up what you need.

APIs are so valuable that they make up a large part of the business revenue. Big companies like Google, eBay, Salesforce.com, Amazon and Expedia are just a few of the companies making money from the API. What "API economy" refers to is the market of APIs.

Modern API

Over the years, APIs are often described as a common connection interface for an application. Recently, however, modern APIs have a number of characteristics that make them more useful and valuable:

  1. Modern APIs comply with standards (usually HTTP and REST), are easy to use and understandable and user-friendly.
  2. API is handled more like product than code. They are designed for specific audiences (for example, mobile device developers).
  3. Because they are more standardized, the security and management are strong, as well as better monitoring and management of performance and scale.
  4. Like any other software, modern API has its own software development cycle (SDLC) for design, testing, construction, and management.

See more:

  1. 7 Framework JavaScript for mobile application development
  2. 75 great user interface design ideas you need to know - Part 3
  3. 5 free application building platforms do not need code
5 ★ | 1 Vote

May be interested

  • Check out the 'buffalo' Pokémon in Pokémon GoCheck out the 'buffalo' Pokémon in Pokémon Go
    each type of pokemon has hp, cp, ability to attack and endure differently. based on these indicators, players can determine as well as choosing the most powerful pokemon for their offensive tactics.
  • Sitting home can also locate Pokemon around, do you believe it?Sitting home can also locate Pokemon around, do you believe it?
    the tightening of the niantic developers' rules to prevent players from abusing the support tools also brings annoyance, such as those who have no conditions to move much, go away, it is hard to know. get the location of the pokemon around the area they live in
  • 5 undeniable benefits when playing Pokemon Go5 undeniable benefits when playing Pokemon Go
    get to know many new people, breathe fresh air, relieve stress, increase concentration thanks to going out for a walk .... are compelling reasons to force you to try pokemon go now .
  • Want to earn the fastest Pokécoins in Pokémon Go? So don't miss this article!Want to earn the fastest Pokécoins in Pokémon Go?  So don't miss this article!
    pokécoins in pokémon go play the role of buying items in the store. the more coins you earn, the more likely you are to buy more items. to earn pokécoins, players will have to complete certain tasks or buy real money.
  • Pokémon systems when fighting in Pokémon GoPokémon systems when fighting in Pokémon Go
    each pokémon system in pokémon go has different strengths, along with a specific weakness. this type of pokémon will have the power to attack the other pokémon, but can defeat the other pokémon. if you know the characteristics of each type, it will be easier to choose which pokémon to battle.
  • The terms you need to know when playing Pokémon GoThe terms you need to know when playing Pokémon Go
    pokémon go is the most prominent name in recent days. this game of capturing and training virtual animals has created a relatively new way of playing, as players have to constantly move to catch pokémon. during the process of joining pokémon go, you will encounter and use a lot of important terms. so what do they mean?
  • How to play Pokemon GO on Windows computersHow to play Pokemon GO on Windows computers
    recently, pokemon go has become a popular game, attracting thousands of gamers around the world. in previous posts network administrator has guided you on how to play pokemon go on android devices and ios devices. in the article below, network administrator will guide you how to play pokemon go on windows computers using bluestacks emulator software.
  • How to become a good Pokémon Go hunter?How to become a good Pokémon Go hunter?
    with a new way of playing, pokémon go has created a new phenomenon in the game village around the world. players will have to go around and find pokémon for themselves. so how to quickly catch pokémon and in large numbers?
  • Things to know to upgrade Pokémon in Pokémon GoThings to know to upgrade Pokémon in Pokémon Go
    the whirlwind pokémon go has spread its power right on the first day of its release. everyone rushed to the street to find a pokémon for themselves. therefore, in order to become a pokémon hunter, you need to master the basics of participating in pokémon go battlefield.
  • List of medals received in Pokemon GoList of medals received in Pokemon Go
    in addition to getting items when leveling up, gamers who join pokemon go also have the opportunity to receive their proud achievements.