Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nextcloudmonitor-0.0.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file nextcloudmonitor-0.0.4.tar.gz.

File metadata

  • Download URL: nextcloudmonitor-0.0.4.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for nextcloudmonitor-0.0.4.tar.gz
Algorithm Hash digest
SHA256 45e0a4ab70c0a609afc50ed4c5924f6733e703b566cdab55211814b54833d88d
MD5 edbfff07e1cb4e9759ae1fc86e95e5f3
BLAKE2b-256 fc7fcd7a57292570a019200f775f55c155d910fdab3dad861593b8a1253493dd

See more details on using hashes here.

File details

Details for the file nextcloudmonitor-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: nextcloudmonitor-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for nextcloudmonitor-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d33f96e1f4978abbbe22c75b7ef3809f1efaf91058a73c5f7b39211970cc0d74
MD5 1a21e6396f09e64ed5fe14a2868062e7
BLAKE2b-256 79ad178962b71f3345f6f40fe73fb2a8a1cac1a7b7dc35267d625d5259201d90

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page