added calhaps API as specified by Readme.md