Notes. Some script stuff.
This commit is contained in:
@ -27,10 +27,10 @@ def get_groups(APIKEY):
|
||||
# if created_at.startswith("2023"):
|
||||
group_id = response["id"]
|
||||
group_name = response["attributes"]["name"]
|
||||
if "caregiver" in group_name:
|
||||
# if "caregiver" in group_name:
|
||||
# print(group_name)
|
||||
groups_dict = {group_name: group_id}
|
||||
groups.append(groups_dict)
|
||||
groups_dict = {group_name: group_id}
|
||||
groups.append(groups_dict)
|
||||
|
||||
if "next" not in nextlink:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user