def __init__(self, apiKey): """ Construct a new API instance with the auth key of the API :param str apiKey: The auth key """ self.apiKey = apiKey Transport.__init__(self)
def __init__(self, token): """ Construct a new API instance with the auth token of the API :param str token: The auth token """ self.token = token Transport.__init__(self)
def __init__(self, username, password, apiId): """ Construct a new API instance with the authentication details and the API ID. :param str username: The API username :param str password: The API password :param int apiId: The API ID """ self.username = username self.password = password self.apiId = apiId Transport.__init__(self) pass