meichthys / nextcloud_monitor

Python wrapper around Nextcloud monitor api
MIT License
2 stars 2 forks source link

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:

Change Log