Fixing API URL in index file. Adding some simple guidance on how to use the API