Tasks and Notes for Sandata's legal issue with a course being deleted. Downloaded spark pdf for them.

This commit is contained in:
Norm Rasmussen
2025-09-29 14:42:17 -04:00
parent 06553b93c3
commit 59d577b051
4 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,18 @@
import requests
import pprint
import Apikeys
PP=pprint.PrettyPrinter(indent=4)
COURSEUUID = "2d3d0f6d-5ea4-49b6-9574-f4d563d9f042"
APIKEY = Apikeys.SPARKPROD
URL = f"https://api2.northpass.com/v2/courses/{COURSEUUID}/activities"
HEADERS = { "accept": "*/*",
"x-api-key": APIKEY,
"content-type": "application/json",
}
course_get = requests.get(URL, headers=HEADERS)#.json
print(course_get.status_code)
print(course_get.text)
PP.pprint(course_get)

View File

@ -7,7 +7,7 @@ const apiKey = "6hUfJdAartHTHhHc0WIRZYPWe"
// const apiKey = "p5fidpuedHaOlPnd8EcpxzQMG"
// Luminate Production ^
const uid = "/\?uid\=7beg87y4-fh24-4929-3rt5-24kdn87s5241";
const groupIds = ['0c842067-fa16-485d-92f5-50895d3078e4']
const groupIds = ['4835baaf-b332-4b59-8415-fb1c7c385308']
const getAllGroups = async (num) => {
if(num === 1){

View File

@ -8,7 +8,7 @@ const apiKey = "6hUfJdAartHTHhHc0WIRZYPWe"
// Luminate Production ^
const uid = "/\?uid\=7beg87y4-fh24-4929-3rt5-24kdn87s5241";
const groupIds = [
'2aed7eac-321f-4ba2-9ee8-7f8c90006459'
'4835baaf-b332-4b59-8415-fb1c7c385308'
]
const getAllGroups = async (num) => {