This commit is contained in:
Leo Hemsted
2019-11-29 13:03:23 +00:00
parent d59c3abf2b
commit 6ad9ec8d21
7 changed files with 33 additions and 13 deletions

View File

@@ -2,6 +2,8 @@
This script can be used to retrieve Zendesk tickets.
This can be run locally if you set the ZENDESK_API_KEY. Or the script can be run from a flask shell from a ssh session.
"""
# flake8: noqa: T001 (print)
import os
import requests
import urllib.parse
@@ -137,4 +139,3 @@ def get_tickets_with_description():
'Tags': row.get('tags', '')
})
next_page = data["next_page"]