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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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