api calls updated.
Merge pull request #3 from pshatara/master

api calls updated.