Skip to main content

Interface to interact with MarkUs API

Project description

Markus API

Python interface to the api for a MarkUs instance.

Installation

Install this package with pip:

$ pip install markusapi

Requirements

  • python 3.6+
  • the url of a running MarkUs website
  • your api_key (this can be obtained from the dashboard page of the MarkUs website)

Compatibility

  • version 0.2 of this package is compatible with MarkUs version < 2.0
  • version 0.3 of this package is compatible with MarkUs version >= 2.0

Usage Example

Create a new Markus Api object:

import markusapi

api_key = 'mysecretapikey='
url = 'https://localhost:3000'

api = markusapi.Markus(api_key, url)

Print all user information

user_info = api.get_all_users()
print(user_info)

Additional Info

Check out the MarkUs API documentation for details on API calls:

https://github.com/MarkUsProject/Markus/wiki/RESTfulApiDocumentation

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

markusapi-0.3.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

markusapi-0.3.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file markusapi-0.3.0.tar.gz.

File metadata

  • Download URL: markusapi-0.3.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for markusapi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 69a6376fbb3d05d0647c81ca5a7ce54ecc2a224ab7b0df4c115bf8b5dcc21ad4
MD5 6725a7d3816b3870f29bb01f60152ef6
BLAKE2b-256 706505b8757d4fb658f92b972df3e9046eaf90c83f48b31b24fc9fddf82a3f57

See more details on using hashes here.

File details

Details for the file markusapi-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: markusapi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for markusapi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba6e62ed72eb635f66b27456d8710a7828e92cce0c3f190cbc2cbb209ba5b5a2
MD5 60a1c7a6b652094a8603127640ed7b63
BLAKE2b-256 cc9ddff27d5867305e061a7ee9e14791b375a32bf3292426dd78bf3b49263994

See more details on using hashes here.

Supported by

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