Krina Vaghela
← Blog

Day 24: What is an API?

Picture for Day 24: What is an API?

What is an API?

Here’s what I’ve understood so far.

1An API lets two applications communicate with each other.

Instead of building everything from scratch, one application can request data or services from another.

2Think of an API like a waiter in a restaurant.

You place an order.
The waiter takes your request to the kitchen.
The kitchen prepares the food.
The waiter brings the response back.
The waiter acts as the bridge between you and the kitchen.

3APIs are already part of our everyday lives.

When you:

  • Log in with Google
  • Pay with PayPal
  • Check the weather
  • Book an Uber

Different applications are communicating through APIs behind the scenes.

Read this post on LinkedIn → (opens in a new tab)

↑ ↓ to move · Enter to open · Esc to close