Small Datasnipper workflow things. Still not working.
This commit is contained in:
Binary file not shown.
@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user