code: def tickets_list(self, external_id=None, include=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/core/tickets#json-format"
          api_path = "/api/v2/tickets.json"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if external_id:
              api_query.update({
                  "external_id": external_id,
              })
          if include:
              api_query.update({
                  "include": include,
              })
          return self.call(api_path, query=api_query, **kwargsf tickets_list(self, external_id=None, include=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/core/tickets#json-format"
          api_path = "/api/v2/tickets.json"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if external_id:
              api_query.update({
                  "external_id": external_id,
              })
          if include:
              api_query.update({
                  "include": include,
              })
          return self.call(api_path, query=api_query, **kwargs)
docs: https://developer.zendesk.com/rest_api/docs/core/tickets#json-format