def _request_access_token_once(api_key, secret):
    '\n    Sends an access token REST request and returns the response.\n    '
    return requests.request('POST', AUTH_API_TOKEN_URL, headers=BASIC_HEADER, json={'clientId': api_key, 'secret': secret})
Sends an access token REST request and returns the response.
def _request_access_token_once(api_key, secret):
    '\n    \n    '
    return requests.request('POST', AUTH_API_TOKEN_URL, headers=BASIC_HEADER, json={'clientId': api_key, 'secret': secret})