def listObject(object): URL = f"{qualtricsBaseURL}/API/v3/{object}" headers = { 'Authorization': f"Bearer {bearerToken}" } result = [] while URL is not None: r = requests.get(URL, headers=headers) r.raise_for_status() URL = r.json()["result"]["nextPage"] result += r.json()["result"]["elements"] return resultgroupId = "GR_...."listObject("groups/" + groupId + "/members")
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.