retrieve a list of surveys from current user

def list_surveys(session):
    """retrieve a list of surveys from current user"""
    params = {'sUser': session['user'], 'sSessionKey': session['token']}
    data = set_params('list_surveys', params)
    req = requests.post(session['url'], data=data, headers=headers)
    return req.text