Scripts updated to do Anthology work. Added Anthology's GAS Script. Pipedrive's Sitemap. and Zenjob templates.
This commit is contained in:
@ -21,17 +21,15 @@ def get_groups(APIKEY):
|
||||
nextlink = data["links"]
|
||||
|
||||
for response in data["data"]:
|
||||
created_at = response["attributes"]["created_at"]
|
||||
if created_at.startswith("2023"):
|
||||
group_id = response["id"]
|
||||
group_name = response["attributes"]["name"]
|
||||
# print(group_name)
|
||||
groups_dict = {
|
||||
"id": group_id,
|
||||
"name": group_name,
|
||||
# "created_at": created_at,
|
||||
}
|
||||
groups.append(groups_dict)
|
||||
# created_at = response["attributes"]["created_at"]
|
||||
# if created_at.startswith("2023"):
|
||||
group_id = response["id"]
|
||||
group_name = response["attributes"]["name"]
|
||||
# print(group_name)
|
||||
groups_dict = {
|
||||
group_name : group_id
|
||||
}
|
||||
groups.append(groups_dict)
|
||||
|
||||
if "next" not in nextlink:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user