what is api and how do I use it?