Walmart Notes, Skuid script, etc
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import requests
|
||||
|
||||
apiKey = "SlpQlju219WnWogn94dQUT6Yt"
|
||||
# apiKey = "SlpQlju219WnWogn94dQUT6Yt"
|
||||
apiKey = "VNDXh8K4tLYJ-Nvp78bo6w"
|
||||
url = "https://api.northpass.com/v1/media"
|
||||
# function = sys.argv[1]
|
||||
|
||||
@ -25,8 +26,9 @@ 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"])
|
||||
|
||||
def postTest(apiKey, url):
|
||||
headers = {
|
||||
|
||||
Reference in New Issue
Block a user