and how to use the API in a php file
I’ve explained here in detail. Check it out. http://sourceexplorer.blogspot.in/