Notifications

This commit is contained in:
simonwt 2026-03-31 22:24:07 +01:00
parent c5d074d178
commit 9b4943c4d5
5 changed files with 16 additions and 2 deletions

View file

@ -14,7 +14,7 @@ if not os.getenv("client_id") or not os.getenv("client_secret"):
API = APIClient(
client_id=os.getenv("client_id"),
client_secret=os.getenv("client_secret"),
debug=True
debug=False
)
# Keep a token cache to avoid unnecessary sign-ins during development.
@ -98,3 +98,6 @@ if not API.is_token_valid():
# print(post)
# x += 1
# print("-----------------------------")
notifications = API.run_job('notification.listnotifications')
print(notifications)
print("-----------------------------")