Chubb, Sandata, Skuid notes. Updated Anthology's get courses from groups since we hit the API per-page limit. Sendgrid for Sandata.

This commit is contained in:
Norm Rasmussen
2024-04-25 19:43:20 -04:00
parent 11972796a4
commit 05fbcfad0e
7 changed files with 95 additions and 29 deletions

View File

@ -2,11 +2,11 @@ import requests
import sys
sys.path.insert(0, "./API_Tests/")
import Apikeys
apikey = Apikeys.CIN7
apikey = Apikeys.SANDATA
url = "https://api.northpass.com/v2/email_domains"
header = { "x-api-key": apikey, "Content-Type": "application/json" }
payload = {"domain": "cin7.com", "custom_dkim_selector": "n"}
payload = {"domain": "sandata.com", "custom_dkim_selector": "g"}
response = requests.post(url, headers=header, json=payload)