Skip to main content

API client for PathGather

Project description

PathGather

https://img.shields.io/pypi/v/pathgather.svg https://img.shields.io/travis/tonybaloney/pathgather.svg Documentation Status

API client for PathGather

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


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)

Uploaded Source

Built Distribution

pathgather-0.4.0-py2.py3-none-any.whl (12.9 kB view details)

Uploaded Python 2 Python 3

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

Hashes for pathgather-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4b73551c792963ceadcd70900a41f0415a099e47d6fabe35e1958a8728b86caa
MD5 05e92b320f5b145e6487cbe1de5d0700
BLAKE2b-256 3ec21e3adf4d8ff8b7542777bc0dec805582726d79dc87e54644e61e07d6ee52

See more details on using hashes here.

File details

Details for the file pathgather-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pathgather-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7db516399d2116bad6e5dfd13d4925d816c9470c7037783d890e6c681785ff5e
MD5 7af6cd083130c6763523629fcbc960ad
BLAKE2b-256 c77f44ad1fb71d8a80f8c4abdff8fb3077d919f024d2ae194e11d0ad74e75b39

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page