feat: Add Uptime Kuma version check via Socket.IO
Retrieve the running Uptime Kuma version by authenticating over Socket.IO and reading the info event. This adds a new login_socket dataset field, the fetch_socket_info helper, and the python-socketio and websocket-client dependencies.
This commit is contained in:
parent
501a84e0a9
commit
f34e2f2d08
6 changed files with 90 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ requires-python = ">=3.10"
|
|||
dependencies = [
|
||||
"PyYAML>=6.0",
|
||||
"bcrypt>=4.0",
|
||||
"python-socketio>=5.11",
|
||||
"requests>=2.31",
|
||||
"websocket-client>=1.7",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue