docs: def list_tickets(self, **kwargs):
          """List all tickets, optionally filtered by a view. Specify filters as
          keyword arguments, such as:
  
          filter_name = one of ['all_tickets', 'new_my_open', 'spam', 'deleted',
                                 None]
              (defaults to 'all_tickets'; passing None uses the default)
  
          Multiple filters are AND'd together.
          """
  
          filter_name = 'all_tickets'
          if 'filter_name' in kwargs and kwargs['filter_name'] is not None:
              filter_name = kwargs['filter_name']
              del kwargs['filter_name']
  
          url = 'helpdesk/tickets/filter/%s?format=json' % filter_name
          page = 1
          tickets = []
  
          # Skip pagination by looping over each page and adding tickets
          while True:
              this_page = self._api._get(url + '&page=%d' % page, kwargs)
              if len(this_page) == 0:
                  break
              tickets += this_page
              page += 1
  
          return [self.get_ticket(t['display_id']) for t in tickets]