A wrapper for REST APIs