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.4.0 (2017-08-29)
[FIX] Remove default proxy settings
Add support to page out all() methods in content, users and paths. Method will now return all results
0.3.0 (2017-08-29)
Add proxy support
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.4.0.tar.gz
(20.6 kB
view details)
Built Distribution
File details
Details for the file pathgather-0.4.0.tar.gz
.
File metadata
- Download URL: pathgather-0.4.0.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b73551c792963ceadcd70900a41f0415a099e47d6fabe35e1958a8728b86caa |
|
MD5 | 05e92b320f5b145e6487cbe1de5d0700 |
|
BLAKE2b-256 | 3ec21e3adf4d8ff8b7542777bc0dec805582726d79dc87e54644e61e07d6ee52 |
File details
Details for the file pathgather-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pathgather-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7db516399d2116bad6e5dfd13d4925d816c9470c7037783d890e6c681785ff5e |
|
MD5 | 7af6cd083130c6763523629fcbc960ad |
|
BLAKE2b-256 | c77f44ad1fb71d8a80f8c4abdff8fb3077d919f024d2ae194e11d0ad74e75b39 |