Confused about APi term
I never quite understood the definition of "API", it's been years now
For me in the beginning, it was fetching data from some server like twitter api, discord api, and reddit api, API acts the bridge. But then in MDN docs, some stuff (maybe methods i dont remember) is declared as API.
Also, now im reading about promises, its called an API too: https://davidwalsh.name/promises
Please help me with this doubt
what even is an API?
For me in the beginning, it was fetching data from some server like twitter api, discord api, and reddit api, API acts the bridge. But then in MDN docs, some stuff (maybe methods i dont remember) is declared as API.
Also, now im reading about promises, its called an API too: https://davidwalsh.name/promises
Please help me with this doubt
The JavaScript Promise API...
XMLHttpRequest API
Battery API
Fetch API (this does makes sense to me coz we fetch data and manipulate it)
what even is an API?
