API, It’s basically a short form for Application Programming Interface. So now let’s understand it that actually what an API is and then I will try to explain it through a simple Example.
An API is basically a software intermediate that allows two applications to interact with each other. In more elaborated manner I can say API acts like a messenger which takes your request and delivers it to the provider or the request acceptor and then request acceptor gives response in back to you.
The main advantage of API is that whenever a software Developer writes code then he/she do not require to start writing the program from scratch and developer can take help of the API’s to proceed with their development.