def get_session():
    response = requests.post((BASE_URL + '/get-access-token'), json={'api_key': API_KEY}, verify=USE_SSL)
    response = handle_response(response, {200})
    session = requests.session()
    session.headers['Authorization'] = f"Bearer {response['result']}"
    return session
def get_session():
    response = requests.post((BASE_URL + '/get-access-token'), json={'api_key': API_KEY}, verify=USE_SSL)
    response = handle_response(response, {200})
    session = requests.session()
    session.headers['Authorization'] = f"Bearer {response['result']}"
    return session