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.3.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.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nextcloudmonitor-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 0fd1808868de41765e08da60eb2812d44a5dd90b1de36922b9cd6a497c791377
MD5 517f10874dbec58fcee65ba61d86847e
BLAKE2b-256 1e012b011a4d71e3ecbde67cab63e0338d4b6996dbe48c368f03e23f4da2fa25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nextcloudmonitor-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 893fa9ff264feb3bff5c7f7fc078f72f040cbcf97685eec00e1ab6157f692dc4
MD5 de6c4308335d46f2d340204d24bf24d5
BLAKE2b-256 c7d184608bfd0525f2ed5c1eb1758d770cb1cb21effc7b431f414d42cf17a6f3

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