Comments (3)
Traceback
Traceback (most recent call last):
File "/Users/lucek/Downloads/uptimekuma.30s.py", line 31, in <module>
monitor_list = api.get_monitors()
^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/uptime_kuma_api/api.py", line 1023, in get_monitors
parse_monitor_type(r)
File "/opt/homebrew/lib/python3.11/site-packages/uptime_kuma_api/api.py", line 72, in parse_monitor_type
parse_value(data, "type", MonitorType)
File "/opt/homebrew/lib/python3.11/site-packages/uptime_kuma_api/api.py", line 57, in parse_value
parse_value(d, key, type_, default)
File "/opt/homebrew/lib/python3.11/site-packages/uptime_kuma_api/api.py", line 61, in parse_value
data[key] = type_(data[key])
^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.4/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py", line 711, in __call__
return cls.__new__(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.4/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py", line 1128, in __new__
raise ve_exc
ValueError: 'group' is not a valid MonitorType
from uptime-kuma-api.
Thanks. As described in the README, the latest supported Uptime Kuma version is 1.21.3. When I have time, I'll implement the upstream changes to support Uptime Kuma 1.22.
from uptime-kuma-api.
Uptime kuma 1.22.1 is supported in version 1.1.0.
from uptime-kuma-api.
Related Issues (20)
- api.delete_monitor() does nothing HOT 2
- "None is not a valid AuthMethod" error HOT 1
- Use Uptime Kuma API key for authentication HOT 2
- Missing sanitisation of `accepted_statuscodes` HOT 1
- Interval modification does not take effect HOT 2
- Bug: api do not return correct timeout error TimeoutError -> Timeout HOT 1
- Proxy: Rate Limiting / Timeout HOT 9
- need to modify the value of interval and retryInterval to make it lower than 20 HOT 2
- support uptime kuma v1.23.0 HOT 3
- Support for Quick Stats
- Retrieve monitor status inside get_monitors()
- Inconsistant Status calls using get_monitor_status HOT 1
- Missing return element in `api.delete_status_page` HOT 1
- set pathName or parent HOT 1
- Default info event does not fetch version under uptime-kuma with version 1.23.1 HOT 1
- save_status_page() failing because of unexpected keyword. HOT 3
- Bug: `api.add_tag()` takes 1 positional HOT 1
- Timeout on get_monitors()
- get_monitor_status for all monitors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uptime-kuma-api.