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.4.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for nextcloudmonitor-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d33f96e1f4978abbbe22c75b7ef3809f1efaf91058a73c5f7b39211970cc0d74 |
|
MD5 | 1a21e6396f09e64ed5fe14a2868062e7 |
|
BLAKE2b-256 | 79ad178962b71f3345f6f40fe73fb2a8a1cac1a7b7dc35267d625d5259201d90 |