Skip to content
 
 

Repository files navigation

Zammad API Client

Documentation Status Updates

Python API client for zammad

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.

About

Python API client for accessing zammad REST API

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages