add api for android app
Merge pull request #13 from paultgibbons/master

add api for android app