Extended initialize to include login and lifecycle controlled loops. Loaded tokens into necessary action modules

This commit is contained in:
Lyncoln
2026-10-23 01:07:49 -04:00
parent 7419f94c97
commit ea82294ac3
4 changed files with 94 additions and 11 deletions
+9 -1
View File
@@ -15,7 +15,7 @@ isrequest = True
method = "GET"
refreshrate = int(os.environ.get("MONITOR_INTERVAL", 10))
refreshrate = int(os.environ.get("MONITOR_INTERVAL", 30))
path = "https://rentmasseur.com/api/v1/account/keeponline"
@@ -59,6 +59,7 @@ filters = [
},
]
sleeptime = 10
#prints = {
# "Status": "message",
@@ -68,3 +69,10 @@ filters = [
#recoverPolicy = {
# KeyError: []
#}
loaddata = [
"access_token",
"refresh_token",
]
savepath = os.environ["TOKEN_STORE"]