diff --git a/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc b/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc index 366f3024..2962c54e 100644 Binary files a/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc and b/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc differ diff --git a/Scripts/API_Tests/workato_for_test.py b/Scripts/API_Tests/workato_for_test.py index 0a1657f9..eb3befdb 100644 --- a/Scripts/API_Tests/workato_for_test.py +++ b/Scripts/API_Tests/workato_for_test.py @@ -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"])