Small Datasnipper workflow things. Still not working.

This commit is contained in:
Norm Rasmussen
2023-12-07 17:20:31 -05:00
parent f7e0a20cf3
commit e5b04c594c
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ BASEURLEMAIL = "https://api.northpass.com/v2/people?filter[email][cont]="
APIKEY = Apikeys.DATASNIPPER
def getfromEmail(BASEURLEMAIL, APIKEY):
email = "datasnipper.com"
email = "email.com"
url = BASEURLEMAIL + f"{email}"
headers = {
"accept": "*/*",
@ -21,6 +21,7 @@ def getfromEmail(BASEURLEMAIL, APIKEY):
print("Another Error!")
# response = response.json()
email = str(response.text)
print(email)
input_json = json.loads(email)
for item in input_json["data"]:
print(item["id"])