Skip to content

EUDAT-B2ACCESS/unity-api-python-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unityapiclient

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.

About

A Python client library for the Unity IDM APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages