API client for PathGather
Project description
PathGather
API client for PathGather
Free software: Apache 2 license
Documentation: https://pathgather.readthedocs.org.
Example
from pathgather import PathgatherClient
import yaml
import json
with open('.tenant.yml', 'r') as tenant_yml:
config = yaml.load(tenant_yml)
client = PathgatherClient(config['host'], config['api_key'])
print(client.users.all())
with open('dump.json', 'r') as dump_j:
data = json.load(dump_j)
for user in data['users']:
print('Creating {0}'.format(user['full_name']))
new_user = client.users.create(
name=user['full_name'],
job_title=user['job_title'],
department='Learning and Development',
email=user['email'])
print(new_user)
Features
User management
Content management
Path queries
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.2.0 (2017-08-28)
Added path and content API endpoints
0.1.0 (2017-08-28)
First release on PyPI.
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
pathgather-0.3.0.tar.gz
(20.2 kB
view hashes)
Built Distribution
Close
Hashes for pathgather-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64b1a3a123f2de5c0e7c63d25a77b029898d43ea5ec33b85609bec542dd737a0 |
|
MD5 | 6127496578335c53605896430c8bee22 |
|
BLAKE2b-256 | 214847fc4acb8287a3c32d6e806f895473e4f94a2a78edfa1634db6697b3ca68 |