API


An API (Application Programming Interface) is best thought of as a contract provided by one piece of computer software to another.
Without API:
An app finds the current weather in London by opening http://www.weather.com/ and reading the webpage like a human does, interpreting the content.
With API:
An app finds the current weather in London by sending a message to the weather.com API (in a structured format like JSON). The weather.com API then replies with a structured response.

0 comments:

Post a Comment

My Instagram