a builder for easy to use REST API connection