Skip to main content

Package for pulling datasets using the Unit4 Multivers API

Project description

logo

Unit4 Multivers API

Package for pulling datasets using the Unit4 Multivers API

Open Source Code style: black PyPI Latest release

Installation

pip install unit4

Usage

for an extensive list of examples, please refer to the Unit4 test suite.

from unit4 import Unit4

unit4 = Unit4()
data = unit4.request_data(endpoint="/api/AdministrationGroupList/All")

environment variables

The following environment variables need to be set:

  • UNIT4_CLIENT_ID: the client id of the registered application
  • UNIT4_CLIENT_SECRET: the client secret associated with the application
  • UNIT4_REFRESH_TOKEN: The refresh token. To obtain the refresh token, please refer to the official Unit 4 API Documentation

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

unit4-0.0.2.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

unit4-0.0.2-py3-none-any.whl (5.2 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