Proud of a new script for changing a list of dictionaries into a CSV! But it's not quite done yet. Updates are mostly for Anthology scripts.Some notes for various clients.

This commit is contained in:
Norm Rasmussen
2024-01-24 18:47:17 -05:00
parent c795d4fe64
commit 8ca1d90345
10 changed files with 658 additions and 25 deletions

View File

@ -3,11 +3,11 @@ import os
import Apikeys
import requests
apikey = Apikeys.DOUGLASELLIMAN
apikey = Apikeys.WALMARTPROD
cmd = "touch ~/Downloads/Spark_Categories.csv"
os.system(cmd)
url = "https://api.northpass.com/v2/categories?limit=100"
url = "https://api2.northpass.com/v2/categories?limit=100"
headers = {
"accept": "application/json",
"X-Api-Key" : apikey,