Walmart Notes, offloading keys to ignore file
This commit is contained in:
@ -113,3 +113,12 @@ Johnny: Can we integrate into CMS platforms like Adobe? Can we integrate an API
|
|||||||
No.
|
No.
|
||||||
|
|
||||||
Eric: This portion of the roadmap is a proof of concept for us, we cannot productize this just yet. So continue to have the content discussions and then engineering will likely happen 1-2 weeks after that. They need to ensure that it is integrated and functional first before rolling out anywhere.
|
Eric: This portion of the roadmap is a proof of concept for us, we cannot productize this just yet. So continue to have the content discussions and then engineering will likely happen 1-2 weeks after that. They need to ensure that it is integrated and functional first before rolling out anywhere.
|
||||||
|
|
||||||
|
## 02/15/2023
|
||||||
|
|
||||||
|
### Content Meeting with Stephanie
|
||||||
|
|
||||||
|
Questions from Stephanie:
|
||||||
|
|
||||||
|
* Luminate's biggest concern is upkeep. Version Control. They make a ton of changes to the products. They need to update
|
||||||
|
the content quickly and effectively. Example: Screenshot in one lesson but what if it is in different lessons etc.
|
||||||
|
|||||||
5
Scripts/API_Tests/Apikeys.py
Normal file
5
Scripts/API_Tests/Apikeys.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
skuid = "18Zl2NAzWTE09FHbNEBngNOJO"
|
||||||
|
unknown = "SlpQlju219WnWogn94dQUT6Yt"
|
||||||
|
forcemanager = "3ia7mWFkdeALYQFYoB51yh6Ov"
|
||||||
|
talkspace_core = "2vfHw6ksqGfT1gUhPM8pXx2wW"
|
||||||
|
wildhealth = "HWxj6VTNPwbc3WghFTPzr7SjE"
|
||||||
BIN
Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc
Normal file
BIN
Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc
Normal file
Binary file not shown.
@ -1,8 +1,9 @@
|
|||||||
import requests
|
import requests
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
import Apikeys
|
||||||
|
|
||||||
csv = "/Users/normrasmussen/Downloads/ts_id_roles.csv"
|
csv = "/Users/normrasmussen/Downloads/ts_id_roles.csv"
|
||||||
apiKey = "18Zl2NAzWTE09FHbNEBngNOJO"
|
apiKey = Apikeys.skuid
|
||||||
baseUrlemail = "https://api.northpass.com/v2/people?filter[email][eq]="
|
baseUrlemail = "https://api.northpass.com/v2/people?filter[email][eq]="
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,22 +1,14 @@
|
|||||||
import requests
|
import requests
|
||||||
|
import Apikeys
|
||||||
|
|
||||||
# apiKey = "SlpQlju219WnWogn94dQUT6Yt"
|
|
||||||
|
|
||||||
# apiKey = "3ia7mWFkdeALYQFYoB51yh6Ov"
|
|
||||||
# ForceManager
|
|
||||||
|
|
||||||
# apiKey = "2vfHw6ksqGfT1gUhPM8pXx2wW"
|
|
||||||
# Talkspace Core
|
|
||||||
|
|
||||||
apiKey = "HWxj6VTNPwbc3WghFTPzr7SjE"
|
|
||||||
# Wild Health
|
|
||||||
|
|
||||||
# url ="https://api.northpass.com/v2/groups/e6ef3e5f-b5a2-4b10-868b-8c165d76d263/learning_paths"
|
# url ="https://api.northpass.com/v2/groups/e6ef3e5f-b5a2-4b10-868b-8c165d76d263/learning_paths"
|
||||||
# "https://api.northpass.com/v1/media"
|
url = "https://api.northpass.com/v1/media"
|
||||||
# function = sys.argv[1]
|
# function = sys.argv[1]
|
||||||
|
apiKey = Apikeys.talkspace_core
|
||||||
|
|
||||||
# Get Group Memberships:
|
# Get Group Memberships:
|
||||||
url = "https://api.northpass.com/v2/groups/504c4771-223a-447f-9ec6-08e51bc9ca23/memberships"
|
# url = "https://api.northpass.com/v2/groups/504c4771-223a-447f-9ec6-08e51bc9ca23/memberships"
|
||||||
|
|
||||||
|
|
||||||
def putTest(apiKey, url):
|
def putTest(apiKey, url):
|
||||||
@ -37,11 +29,14 @@ def putTest(apiKey, url):
|
|||||||
|
|
||||||
|
|
||||||
def getTest(apiKey, url):
|
def getTest(apiKey, url):
|
||||||
|
print(url)
|
||||||
|
print(apiKey)
|
||||||
headers = {"accept": "application/json", "X-Api-Key": apiKey}
|
headers = {"accept": "application/json", "X-Api-Key": apiKey}
|
||||||
response = requests.get(url, headers=headers)
|
response = requests.get(url, headers=headers)
|
||||||
# print(response.text)
|
# print(response.text)
|
||||||
jsonResponse = response.json()
|
jsonResponse = response.json()
|
||||||
print(jsonResponse["included"][1]["attributes"]["email"])
|
print(jsonResponse)
|
||||||
|
# print(jsonResponse["included"][1]["attributes"]["email"])
|
||||||
# print(jsonResponse["data"][1]["attributes"])
|
# print(jsonResponse["data"][1]["attributes"])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import requests
|
import requests
|
||||||
import sys
|
import sys
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
import Apikeys
|
||||||
|
|
||||||
# Enter your API Key between the quotation marks.
|
# Enter your API Key between the quotation marks.
|
||||||
apiKey = ""
|
apiKey = ""
|
||||||
|
|||||||
6
Scripts/credlib.py
Normal file
6
Scripts/credlib.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
class credential:
|
||||||
|
def __init__(self, hostname, username, password, apikey):
|
||||||
|
self.hostname = hostname
|
||||||
|
self.username = username
|
||||||
|
self.password = password
|
||||||
|
self.apikey = apikey
|
||||||
3
Scripts/getrequests.py
Normal file
3
Scripts/getrequests.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
import requests
|
||||||
|
import Apikeys
|
||||||
|
|
||||||
Reference in New Issue
Block a user