diff --git a/Scripts/API_Tests/add-pgaids.py b/Scripts/API_Tests/add-pgaids.py index d88c99ec..0ec9c6cc 100644 --- a/Scripts/API_Tests/add-pgaids.py +++ b/Scripts/API_Tests/add-pgaids.py @@ -3,8 +3,9 @@ import pandas as pd from pathlib import Path import Apikeys import os +from datetime import datetime -basefile = "/Users/normrasmussen/Downloads/multiple_learning_path_analysis.csv" +basefile = "/Users/normrasmussen/Downloads/mizuno-may-completions.csv" api_key = Apikeys.MIZUNO uuid_url = "https://api.northpass.com/v2/people?filter[email][eq]=" prop_url = "https://api.northpass.com/v2/properties/people/" @@ -13,8 +14,7 @@ headers = { "x-api-key": api_key, "content-type": "application/json", } -yoyo = "" - +THIS_MONTH = datetime.now().strftime('%B%Y') def load_file(basefile): dict_list = [] @@ -52,7 +52,7 @@ def load_file(basefile): completions = completions[completions["userid"] != "0"] # completions = completions.iloc[:, 0:] completions.to_csv( - "/Users/normrasmussen/Downloads/Mizuno-LP-Mar25-with-PGAID.csv", + f"/Users/normrasmussen/Downloads/Mizuno-LP-{THIS_MONTH}25-with-PGAID.csv", index=False, ) diff --git a/Tasks.md b/Tasks.md index a39e168f..0c9322b3 100644 --- a/Tasks.md +++ b/Tasks.md @@ -51,4 +51,5 @@ - [X] Custom fields on user records - (CE Props) - available in analytics - [X] Can SJ API add sign up fields progromatically - [X] Can we make a custom page that has a custom title. Use this as a landing page instead of an email -- [ ] Book EMC meeting for Courtney and Alisha. - 05-09-2025 +- [X] Book EMC meeting for Courtney and Alisha. - 05-09-2025 +