What is an API? (Application Programming Interface)

Published: 21 April 2021
on channel: CodeWithMazn
22,960
418

What is an API?

An API is defined as a specification of possible interactions with a software component. What does that mean, exactly? Well, imagine that a car was a software component. Its API would include information about what it can do—accelerate, brake, turn on the radio, etc. It would also include information about how you could make it do those things. For instance, to accelerate, you put your foot on the gas pedal and push.

The API doesn’t have to explain what happens inside the engine when you put your foot on the accelerator. That’s why, if you learned to drive a car with an internal combustion engine, you can get behind the wheel of an electric car without having to learn a whole new set of skills. The what and how information come together in the API definition, which is abstract and separate from the car itself.

One thing to keep in mind is that the name of some APIs is often used to refer to both the specification of the interactions and to the actual software component you interact with. The phrase “Twitter API,” for example, not only refers to the set of rules for programmatically interacting with Twitter, but is generally understood to mean the thing you interact with, as in “We’re doing analysis on the tweets we got from the Twitter API.”

I hope you will enjoy it!

⭕ Check this if you want to learn about Firebase Authentication:
👉 https://www.youtube.com/watch?v=Y4-ro...


⭕ Check this if you want to learn about Navigation Component:
👉 https://www.youtube.com/watch?v=Qe_6O...


⭕ Check this if you want to learn about RecyclerView:
👉 https://www.youtube.com/watch?v=xYmH6...



If you want to connect with me, you can follow me on my Instagram
  / ​  


Watch video What is an API? (Application Programming Interface) online without registration, duration hours minute second in high quality. This video was added by user CodeWithMazn 21 April 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 22,96 once and liked it 41 people.