def torrents(self, status='active', label='', sort='priority',
                 reverse=False, limit=10, offset=0):

        STATUS_LIST = ['all', 'downloading', 'completed',
                       'paused', 'active', 'inactive']
        if status not in STATUS_LIST:
            raise ValueError("Invalid status.")

        params = {
            'filter': status,
            'label': label,
            'sort': sort,
            'reverse': reverse,
            'limit': limit,
            'offset': offset
        }

        return self._get('query/torrents', params=params)
Returns a list of torrents matching the supplied filters.
dataset/ETHPy150Open v1k45/python-qBittorrent/qbittorrent/client.py/Client.torrents