
In plain words
An API (Application Programming Interface) is a door one program opens so other programs can use it. Instead of returning a web page for a person to read, an API usually returns JSON data for another program to use.
When a mobile app shows your M-Pesa balance or the weather, it is calling an API in the background.
A picture
A restaurant menu is an API. It lists what you may ask for and how to ask. You do not need to know how the kitchen works; you order from the menu and food comes back.
See Build a REST API.

Every lesson stays free. Tap the thumbs up so we know what works, or say thanks with a soda or a coffee: it pays for hosting and new lessons.


