Client library for the Unity IDM APIs
Project description
A Python client library for the Unity IDM APIs.
Currently, it only supprorts a subset of the operations exposed by Unity’s Administration API.
Python version
Python 2.6 or 2.7 are fully supported.
Installation
To install the client library, simply run:
$ pip install unityapiclient 🍺
Third party libraries and dependencies
The following libraries will be installed when you install the client library:
Usage
The following example assumes a Unity IDM deployment at https://unity.example.org:
>>> import unityapiclient >>> from unityapiclient.client import UnityApiClient >>> client = UnityApiClient('https://unity.example.org', ... auth=('unityapiuser', 'secretpassword')) >>> entity = client.get_entity(257) >>> entity['entityInformation']['state'] u'valid'
Documentation
Documentation is available at http://eudat-b2access.github.io/unity-api-python-client
License
Licensed under the Apache 2.0 license, for details see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size unityapiclient-0.0.3-py2-none-any.whl (6.7 kB) | File type Wheel | Python version py2 | Upload date | Hashes View |
Close
Hashes for unityapiclient-0.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19cff32fa892825e36cfc3642e5b85e381ec6a3f8bf8e2fe235abc6203ce099f |
|
MD5 | ee7341b831087e463c5f36a110ea95f5 |
|
BLAKE2-256 | 48405a6e1b5990ad1367f9d70196d7f056b7b3223ea38f56e4ad7fd6ccb745b0 |