TorrentQuery

data class TorrentQuery(var content: String? = null, var category: Category? = null, var imdbId: String? = null, var tmdbId: Int? = null, var tvdbId: Int? = null, val skipCache: Boolean = false, var page: Int = 1, var limit: Int = -1)

TorrentQuery contains all the required details to search for a specific torrent across all enabled providers.

Constructors

Link copied to clipboard
constructor(content: String? = null, category: Category? = null, imdbId: String? = null, tmdbId: Int? = null, tvdbId: Int? = null, skipCache: Boolean = false, page: Int = 1, limit: Int = -1)

Properties

Link copied to clipboard

The Category to filter torrent results for.

Link copied to clipboard

The text query to run on each torrentsearch.TorrentProvider.

Link copied to clipboard

The imdb.com id to filter torrent results for.

Link copied to clipboard
var limit: Int

The limit applied to each provider query, expect a higher TorrentDescription count when more than one provider is enabled.

Link copied to clipboard
var page: Int

The page to request from each provider, must greater than zero.

Link copied to clipboard
val skipCache: Boolean = false

When true, ignore cached results and do not cache results for this query.

Link copied to clipboard
var tmdbId: Int?

The themoviedb.org id to filter torrent results for.

Link copied to clipboard
var tvdbId: Int?

The thetvdb.com id to filter torrent results for.