Mizuno monthly script. Some cin7 and datasnipper templates and todo list items.

This commit is contained in:
Norm Rasmussen
2024-03-04 17:08:39 -05:00
parent d5926729ad
commit 34032ab681
10 changed files with 1211 additions and 122 deletions

View File

@ -1,10 +1,12 @@
import requests
import pandas as pd
from pathlib import Path
import Apikeys
import os
basefile = "/Users/normrasmussen/Downloads/MizunoCompletions_with_PGAIDs.csv"
api_key = "stXNF84HWL8aCGeRjHEo2rJ1U"
basefile = "/Users/normrasmussen/Downloads/MizunoCompletionsFeb2024.csv"
api_key = Apikeys.MIZUNO
# "stXNF84HWL8aCGeRjHEo2rJ1U"
uuid_url = "https://api.northpass.com/v2/people?filter[email][eq]="
group_url = "https://api.northpass.com/v2/groups/"
headers = {
@ -45,7 +47,7 @@ def load_file(basefile):
completions.loc[completions.index[row], "Group Name"] = group
print(completions)
completions.to_csv(
"/Users/normrasmussen/Downloads/MizunoCompletions_with_PGAIDs.csv",
"/Users/normrasmussen/Downloads/MizunoCompletionsFeb2024_with_PGAIDs.csv",
index=False
)