Skip to main content

Python API client for zammad

Project description

Zammad API Client

https://img.shields.io/pypi/v/zammad_py.svg https://img.shields.io/travis/joeirimpan/zammad_py.svg Documentation Status Updates

Python API client for zammad

Quickstart

from zammad_py import ZammadAPI
client = ZammadAPI(username='<USERNAME>', password='<PASSWORD>', host='<HOST>', is_secure=False)
print client.user.me()

User Resource

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)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for zammad-py, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size zammad_py-0.1.7.tar.gz (38.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page