Skip to main content

an object-oriented REST API client for zammad

Project description

PyPI license Documentation Status

an object-oriented REST API client for Zammad

Real life examples

from zammadoo import Client

client = Client("https://myhost.com/api/v1/", username="<username>", password="<mysecret>")

# I have a new ticket with id 17967 and I need to download the attachment file
path = client.tickets(17967).articles[0].attachments[0].download()
print(f"The downloaded file is {path}")

# I need to close all tickets with the tag "deprecated" and remove the tag
for ticket in client.tickets.search("tags:deprecated"):
    ticket.update(state="closed")
    ticket.remove_tags("deprecated")

design principles

Zammadoo provides a fluent workflow. Since the provided resources are wrapped in its own type your IDE can show you many of the available properties and methods.

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

zammadoo-0.1.0.tar.gz (21.1 kB view hashes)

Uploaded Source

Built Distribution

zammadoo-0.1.0-py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 3

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