Notes from SPS,Keystone,Walmart, and Glassdoor. Changed some templates in my sandbox.
This commit is contained in:
13
Scripts/API_Tests/training_events.py
Normal file
13
Scripts/API_Tests/training_events.py
Normal file
@ -0,0 +1,13 @@
|
||||
import requests
|
||||
import Apikeys
|
||||
|
||||
|
||||
apikey = Apikeys.sps
|
||||
url = "https://api.northpass.com/v2/events"
|
||||
headers = {
|
||||
"accept": "application/json",
|
||||
"X-Api-Key": apikey
|
||||
}
|
||||
response = requests.get(url, headers=headers)
|
||||
resp = response.json()
|
||||
print(resp)
|
||||
Reference in New Issue
Block a user