API means "application programming interface". Basically, it's the
functions and data structures that some platform exposes to allow
software to be built on top of it. How these functions and data
structures are /actually/ handled can vary by implementation, just as
long as the data going in and out of the API behaves as expected
(depending on how rigid the API's specification is).
A good example is Web API. Every web browser is coded very differently,
but every website should behave in roughly the same way. Some things are
less rigid, like intricacies in how fonts are rendered, while others are
very strict, like the way a container size is calculated.
Programming is all about transforming data from one form to another.
APIs are like the language rules that an entity defines to communicate
with their software.
Hope this helps!
On 6/3/2017 5:18 PM, Ken. A Sandoval Ruiz wrote:
> I was wondering if someone can tell me what's an API?
> Discussing Developer documentation on MDN: dev-mdc mailing list
> List email: firstname.lastname@example.org
> Manage your membership: https://lists.mozilla.org/listinfo/dev-mdc
> Unsubscribe: https://lists.mozilla.org/options/dev-mdc/scott%40loosescrew.ca?unsub=1&unsubconfirm=1
> MDN contributor guide: http://bit.ly/ContributorGuide