

def get_connect_tokens(self, **params):
    'Get a list of connect tokens created with your API key.\n\n        2.0\n        Documentation: http://context.io/docs/2.0/connect_tokens#get\n\n        Lite\n        Documentation: http://context.io/docs/lite/connect_tokens#get\n\n        Optional Arguments:\n            token : string - The connect token used to create the account .\n\n        Making the api call https://context.io/2.0/connect_tokens/<token_id>\n\n        Returns(if token is given):\n\n        A dictionary :\n\n        {\n          "token": stringId of the connect_token,\n          "email": stringemail address specified on token creation,\n          "created": numberUnix timestamp of the connect_token was created,\n          "used": numberUnix time this token was been used. 0 means it no account has been created with this token yet,\n          "expires": mixedUnix time this token will expire and be purged. Once the token is used, this property will be set to false,\n          "callback_url": stringURL of your app we\'ll redirect the browser to when the account is created,\n          "first_name": stringFirst name specified on token creation,\n          "last_name": stringLast name specified on token creation,\n          "account": {\n            If the connect_token hasn\'t been used yet, this object will be empty\n            "id": stringId of the account created with this token,\n            "created": numberUnix timestamp of account creation time,\n            "suspended": numberUnix timestamp of account suspension time 0 means not suspended,\n            "email_addresses":arrayArray of email addresses for this account. This only lists the actual addresses as strings.,\n            "first_name": stringFirst name of account holder,\n            "last_name": stringLast name of account holder,\n            "sources": arrayList of sources this account gets data from. See sources\n            If your key uses 3-legged signatures, the following 2 properties are added\n            "access_token": stringOAuth access token to sign all future requests on this account,\n            "access_token_secret": stringOAuth access token secret to sign all future requests on this account\n          }\n        }\n\n        or\n\n        Returns:\n            A list of ConnectToken objects.\n        '
    if params:
        return self._request_uri((('connect_tokens' + '/') + params['token']))
    else:
        return [ConnectToken(self, obj) for obj in self._request_uri('connect_tokens')]

dataset/ETHPy150Open contextio/Python-ContextIO/contextio/lib/api.py Api.get_connect_tokens/original