Python wrapper around nextcloud monitor api
Project description
NextcloudMonitor
Python wrapper around Nextcloud monitor api
Installation
pip install nextcloudmonitor
QuickStart
>>> from nextcloudmonitor import NextcloudMonitor
>>> ncm = NextcloudMonitor("https://your_nextcloud_url", "nextcloud_admin_username", "nextcloud_app_password")
>>> ncm.data['nextcloud']['system']['version']
'16.0.5.1'
>>> ncm.data['activeUsers']['last24hours']
1
Notes:
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nextcloudmonitor-0.0.2.tar.gz
(1.4 kB
view hashes)
Built Distribution
Close
Hashes for nextcloudmonitor-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45a49f1744a850bd984322b407895c89f63340b0aaf1bb070ca060f2fee2c135 |
|
MD5 | 3febc6d8abc84cbe9a27772cb6719dd1 |
|
BLAKE2b-256 | 1d6d892be4f1a6c2ec6462141cdabaa40877556b7a7c374cd40aeb50d58e4b9f |