REST API library