A simple php RESTful api wrapper.