python package for interacting with phonegap API