Question: what is the difference between an api and a library?
Answer: The main difference is that the library refers to the code itself, while API refers to the interface. ... An API can be made of several libraries to complete a particular action. Yet, a library by itself is not an API but rather a collection of useful techniques or functions.