CLI utility to interface with the Zendesk API. Based on a query, it will dump, delete, or mark tickets as spam.
Zendesk's query language reference: https://support.zendesk.com/hc/en-us/articles/203663226
zendesk.py -h
zendesk.py -a https://<yourprefix>.zendesk.com/api/v2/ -u <user@domain>/token -f 'tags:trash status:new'
zendesk.py -a https://<yourprefix>.zendesk.com/api/v2/ -u <user@domain>/token -d 'tags:trash status:new'
zendesk.py -a https://<yourprefix>.zendesk.com/api/v2/ -u <user@domain>/token -s 'tags:trash status:new'