Notes & SPS Templates
This commit is contained in:
@ -1,8 +1,15 @@
|
||||
import requests
|
||||
|
||||
# apiKey = "SlpQlju219WnWogn94dQUT6Yt"
|
||||
apiKey = "VNDXh8K4tLYJ-Nvp78bo6w"
|
||||
url = "https://api.northpass.com/v1/media"
|
||||
|
||||
apiKey = "3ia7mWFkdeALYQFYoB51yh6Ov"
|
||||
# ForceManager
|
||||
|
||||
# apiKey = "2vfHw6ksqGfT1gUhPM8pXx2wW"
|
||||
# Talkspace Core
|
||||
|
||||
url ="https://api.northpass.com/v2/groups/e6ef3e5f-b5a2-4b10-868b-8c165d76d263/learning_paths"
|
||||
# "https://api.northpass.com/v1/media"
|
||||
# function = sys.argv[1]
|
||||
|
||||
|
||||
@ -26,7 +33,7 @@ def putTest(apiKey, url):
|
||||
def getTest(apiKey, url):
|
||||
headers = {"accept": "application/json", "X-Api-Key": apiKey}
|
||||
response = requests.get(url, headers=headers)
|
||||
# print(response.text)
|
||||
print(response.text)
|
||||
jsonResponse = response.json()
|
||||
# print(jsonResponse["data"][1]["attributes"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user