def torrents(self, **filters):
params = {}<EOL>for name, value in filters.items():<EOL><INDENT>name = '<STR_LIT>' if name == '<STR_LIT:status>' else name<EOL>params[name] = value<EOL><DEDENT>return self._get('<STR_LIT>', params=params)<EOL>
Returns a list of torrents matching the supplied filters.

:param filter: Current status of the torrents.
:param category: Fetch all torrents with the supplied label.
:param sort: Sort torrents by.
:param reverse: Enable reverse sorting.
:param limit: Limit the number of torrents returned.
:param offset: Set offset (if less than 0, offset from end).

:return: list() of torrent with matching filter.