ikeystone python client
Project description
ikeystone python client
Installation
PYPI
pip install ikeys-cli
GIT
pip install https://github.com/MrLYC/ikeys-cli/archive/master.zip
Quick start
from ikeys_cli import IKeytoneAPI
api = IKeytoneAPI(url="https://ikeystone.example.com/v1/")
api.authenticate(
domain="server_domain",
user="server_user",
password="server_password",
project="server_project",
)
result = api.domain.request.verify({
"domian": "client_domain",
"user": "client_user",
"project": "client_project",
"expires": "client_expires",
"nonce": "client_nonce",
"signature": "client_signature",
})
assert(result.errno == 0, result.errmsg)
print result.data
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.
Source Distribution
ikeys-cli-0.3.7.tar.gz
(4.4 kB
view hashes)