What is an API?

What is an API? Is it same as method or something else?

[i]In reply to dave_59:[/
Obviously I have, but I am not getting accurate result.

API stands for Application Programming Interface. It serves as a data transmitter between two different pieces of software.
APIs help developers extend the functionality of their projects. They don’t need to build features from scratch. Instead, engineers use APIs from proven vendors to reuse features that have already been developed by someone else. This approach allows you to speed up the development process and reduce costs.
There are three main architecture types for API development:
JSON-RPC and XML-RPC and XML-RP, REST, SOAP. Cleveroad can help to understand more about API.