What is API and how does it work?

Asked

Viewed 1,107 times

1

What is an API, someone could explain me in a simple way and with examples, I looked on the internet but everything was very confusing.

2 answers

1

API means "Application Programming Interface". It is basically the public methods feat offered by a framework.

  • Could you explain in a simpler way? , so still got confused, with some simple example.

  • 2

    I see no reason to downvote this answer. It could be more complete but it is not wrong.

0

Imagine a television controller, you press the buttons to trigger some actions (The buttons would be the public methods). The control interface is your API, that is, you call your methods, but you do not know its implementation. Behind it there may be many other layers, but the one that interests you is the API.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.