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

Uploaded Source

Built Distribution

unit4-0.0.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file unit4-0.0.2.tar.gz.

File metadata

  • Download URL: unit4-0.0.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for unit4-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bf847f0e8d6a1e60c808d0b84d03aa00bd52e3194f5359d0361100ac4dbf1048
MD5 b120885e15159b9c7fd063e57407fbce
BLAKE2b-256 4b5f8e6089c56d18cd839cf5a865fe39f8d7a620e89034a25cd05743421672d8

See more details on using hashes here.

File details

Details for the file unit4-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: unit4-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for unit4-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af3bc66829032ba688b1e6778094b5b361ab94b703bc01eeb78cf8e548063db7
MD5 eeba2880f852869d1c117735a4795ac8
BLAKE2b-256 1218a142ad93cb1b78fe16b181bac572a106e6f302dccf71c66c726fe6eb4452

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