A php wrapper for RESTful apis