Python wrapper around nextcloud monitor api
Python wrapper around Nextcloud monitor api
pip install nextcloudmonitor
>>> from nextcloudmonitor import NextcloudMonitor >>> ncm = NextcloudMonitor("https://your_nextcloud_url", "nextcloud_admin_username", "nextcloud_app_password") >>> ncm.data['nextcloud']['system']['version'] '126.96.36.199' >>> ncm.data['activeUsers']['last24hours'] 1
- The user must be a user that has access to the nextcloud monitor api (generally an admin user)
- The nextcloud app password should be generated from the nextcoud security settings page.
- v1.0.0 : Initial Release
- v1.1.0 : Added basic error handling for api errors
- v1.2.0 : Allow ssl verification bypass
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for nextcloudmonitor-1.2.0-py3-none-any.whl