Final save before Thanksgiving holiday! Blacklane has been completed. Some small scripts were updates. Downloaded new - but error prone - SPS templates.

This commit is contained in:
Norm Rasmussen
2023-11-22 16:37:22 -05:00
parent be3cb15494
commit 7bc8b430be
33 changed files with 1705 additions and 71 deletions

View File

@ -0,0 +1,10 @@
import Apikeys
import requests
company = "EJP"
url = f"https://api.northpass.com/v2/groups?filter[name][eq]={company}"
apikey = Apikeys.DATASNIPPER
headers = {"X-Api-Key":apikey}
response = requests.get(url, headers=headers)
print(response.text)

10
Scripts/js-date.js Normal file
View File

@ -0,0 +1,10 @@
//let jsDate = new Date();
//let jsFormattedDate = jsDate.getFullYear() + ("0" + (jsDate.getMonth() + 1)).slice(-2) + ("0" + jsDate.getDate()).slice(-2);
//let liquidFormattedDate = '{{ "now" | date: "%Y%m%d" }}';
//let personCreateDate = moment.unix('{{ current_person.created_at }}').formate("%Y%m%d");
//console.log(jsFormattedDate);
//console.log(liquidFormattedDate);
//console.log(personCreateDate)
//
let dateTest = "2022-04-13 15:00:03 +0000".split(" ")[0]
console.log(dateTest)