Python API client for zammad
Project description
Zammad API Client
Python API client for zammad
- Free software: MIT license
- Documentation: https://zammad-py.readthedocs.io.
Quickstart
from zammad_py import ZammadAPI client = ZammadAPI(url='<HOST>', username='<USERNAME>', password='<PASSWORD>') print client.user.me()
User Resource
from zammad_py import ZammadAPI client = ZammadAPI(url='<HOST>', username='<USERNAME>', password='<PASSWORD>') print client.user.me() # all return a paginated response this_page = client.user.all() next_page = this_page.next_page() prev_page = this_page.prev_page() # Iterate through page object for user in this_page: print user print client.user.search({'firstname': 'Joe'}) print client.user.find(3) print client.user.create({'firstname': 'Joe'}) print client.user.update(3, {'firstname': 'Paul'}) print client.user.destroy(3)
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2017-10-24)
- 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
zammad_py-1.0.1.tar.gz
(38.1 kB
view hashes)