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
|
APIKEY = Apikeys.DATASNIPPER
|
||||||
|
|
||||||
def getfromEmail(BASEURLEMAIL, APIKEY):
|
def getfromEmail(BASEURLEMAIL, APIKEY):
|
||||||
email = "datasnipper.com"
|
email = "email.com"
|
||||||
url = BASEURLEMAIL + f"{email}"
|
url = BASEURLEMAIL + f"{email}"
|
||||||
headers = {
|
headers = {
|
||||||
"accept": "*/*",
|
"accept": "*/*",
|
||||||
@ -21,6 +21,7 @@ def getfromEmail(BASEURLEMAIL, APIKEY):
|
|||||||
print("Another Error!")
|
print("Another Error!")
|
||||||
# response = response.json()
|
# response = response.json()
|
||||||
email = str(response.text)
|
email = str(response.text)
|
||||||
|
print(email)
|
||||||
input_json = json.loads(email)
|
input_json = json.loads(email)
|
||||||
for item in input_json["data"]:
|
for item in input_json["data"]:
|
||||||
print(item["id"])
|
print(item["id"])
|
||||||
|
|||||||
Reference in New Issue
Block a user