Python API client for zammad
- Free software: MIT license
- Documentation: https://zammad-py.readthedocs.io.
from zammad_py import ZammadAPI
client = ZammadAPI(username='<USERNAME>', password='<PASSWORD>', host='<HOST>', is_secure=False)
print client.user.me()
from zammad_py import ZammadAPI
client = ZammadAPI(username='<USERNAME>', password='<PASSWORD>', host='<HOST>', is_secure=False)
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)
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.