How Developers Use API in Projects : An Ultimate Guide : Aalpha
The API describes and prescribes the «expected behavior» (a specification) while the library is an «actual implementation» of this set of rules. One purpose of APIs is to hide the internal details of how a system works, exposing only those parts that a programmer will find useful, and keeping them consistent even if the internal…