Cin7 templates were all messed up. Fixed them. Downloaded and backed up Scintilla's new templates that Raj was working on for commerce.

This commit is contained in:
Norm Rasmussen
2025-07-02 13:39:55 -04:00
parent 69cfb846b4
commit 23d799b75b
215 changed files with 5969 additions and 3164 deletions

View File

@ -5,7 +5,7 @@ import Apikeys
import os
from datetime import datetime
basefile = "/Users/normrasmussen/Downloads/mizuno-june1-15-completions.csv"
basefile = "/Users/normrasmussen/Downloads/mizunojune2025.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/"
@ -14,7 +14,7 @@ headers = {
"x-api-key": api_key,
"content-type": "application/json",
}
THIS_MONTH = datetime.now().strftime('%B%Y')
THIS_MONTH_YEAR = 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(
f"/Users/normrasmussen/Downloads/Mizuno-LP-{THIS_MONTH}-1-15-with-PGAID.csv",
f"/Users/normrasmussen/Downloads/Mizuno-LP-{THIS_MONTH_YEAR}-with-PGAID.csv",
index=False,
)