Search for torrents through the command-line...
Search for torrents in your own applications...
Read about more complex usage in the documentation.
Read about more complex usage in the documentation.
from torvend.client import (TorvendClient,)
discovered_torrents = []
def torrent_callback(item, **kwargs):
discovered_torrents.append(item)
client = TorvendClient()
client.search('my query', torrent_callback)
print(discovered_torrents)