Notes. Some script stuff.

This commit is contained in:
Norm Rasmussen
2024-08-12 18:01:57 -04:00
parent e0b6790f6d
commit 0b40e1224b
5 changed files with 24 additions and 4 deletions

View File

@ -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