From:  Scott Michaud <scott@loosescrew.ca>
Date:  04 Jun 2017 06:25:20 Hong Kong Time
Newsgroup:  news.mozilla.org/mozilla.dev.mdc
Subject:  

Re: What is an API?

NNTP-Posting-Host:  63.245.214.181

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:
> Hi,
>
> I was wondering if someone can tell me what's an API?
> _________________________________________________________________________
> Discussing Developer documentation on MDN: dev-mdc mailing list
> List email: dev-mdc@lists.mozilla.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
>