a python wrapper for restful apis