DeepL templates and tasks for the same.
This commit is contained in:
@ -3,11 +3,11 @@ import os
|
||||
import Apikeys
|
||||
import requests
|
||||
|
||||
apikey = Apikeys.SUPPLIERPROD
|
||||
apikey = Apikeys.DEEPL
|
||||
cmd = "touch ~/Downloads/Supplier_Categories.csv"
|
||||
|
||||
os.system(cmd)
|
||||
url = "https://api2.northpass.com/v2/categories?limit=100"
|
||||
url = "https://api.northpass.com/v2/categories?limit=100"
|
||||
headers = {
|
||||
"accept": "application/json",
|
||||
"X-Api-Key" : apikey,
|
||||
@ -28,3 +28,8 @@ with open('/Users/normrasmussen/Downloads/Supplier_Categories.csv', 'r') as read
|
||||
for row in reader:
|
||||
print(row)
|
||||
|
||||
|
||||
"""
|
||||
For use in URLS, the filter syntax is ?filter[category_uuid][in][]=6bfcb970-d82f-4ed9-ad7b-d17f1b82a6a9
|
||||
Category Names don't work
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user