updated readme to show how to use API