docs: def from_credentials(credentials):
          """Returns a new API object from an existing Credentials object.
  
          :param credentials: The existing saved credentials.
          :type credentials: Credentials
          :return: A new API object populated with MyGeotab credentials.
          :rtype: API
          """
          return API(username=credentials.username, password=credentials.password,
                     database=credentials.database, session_id=credentials.session_id,
                     server=credentials.server)