def __init__(self, base_url, credentials):
self.base_url = base_url<EOL>self.session = get_session_with_credentials(credentials)<EOL>
Initialize the API object, setting the base URL for the REST
API, as well as the username and password to be used.