What is API ?

 An API stands for Application Programming Interface. It’s a set of rules and protocols that allows different software applications to communicate with each other.

Here’s a simple breakdown:

  • What it does: An API acts like a bridge between two systems, enabling them to exchange data or functionality without needing to know the internal details of each other.
  • Example: When you use a weather app, it calls an API from a weather service to get the latest forecast. The app doesn’t need to know how the weather service works internally—it just uses the API.
  • Types of APIs:
    • Web APIs: Used for communication over the internet (e.g., REST, GraphQL).
    • Library APIs: Functions provided by programming libraries.
    • Operating System APIs: Allow apps to interact with the OS (e.g., Windows API).

For better understanding >>> Think of an API like a restaurant menu: you see the dishes (functions) you can order, but you don’t need to know how they’re cooked in the kitchen. <<< for better understanding


Comments

Popular Posts

What is P50, P52 & P90 ?

Energy Conservation Building Code (ECBC): Enhancing Energy Efficiency in Domestic & Commercial Sectors

What is Firm and Dispatchable Renewable Energy (FDRE) ?

Top EPC forms in Solar rooftop and Ground mounted in UAE and KSA

What is Kaprekar's constant ?