To open a Zendesk ticket in Python, you will need to use the Zendesk API. Here's an example using the requests library:
main.py660 chars33 lines
This code will create a new ticket in Zendesk with the subject "Example Subject" and the comment "Example comment". You will need to replace {subdomain}, {email} and {api_token} with your own Zendesk subdomain, email and API token respectively.
gistlibby LogSnag