What is API?

466 viewsEngineeringOther

What is exactly API and why we call it like that? I am learning web development, and always come across APIs. I would love to learn it through an analogy.

In: Engineering

32 Answers

Anonymous 0 Comments

Here’s the analogy I always use with customers when they ask this question:
Think of your DVD/blue ray player. You don’t need to know how to spin the disc you inserted, move the read head, provide power to the optical reader, etc. all you need to know is that if you click this button something happens and the door opens and a gray pops out. If you click this button with a disc inside everything will start playing. Your API to that device is the series of buttons in front of you

Anonymous 0 Comments

Not to be mean here, but this is something that is fairly basic and very searchable. Searching for sollutions and documentation is about 30% of what a developer does, with 60% reading code, 5% writing code, and the other 5% making up stats. If you have to ask this sort of question here then development will be tough.

[https://letmegooglethat.com/?q=what+is+an+api](https://letmegooglethat.com/?q=what+is+an+api)