A framework is an application that contains a collection of scripts with the help of which web page creators can make a complex site much faster. [...]
API, the acronym for "Application Programming Interface", represents a set of rules and specifications that must be followed in order to access and use the services. [...]