Package-level declarations
Types
Link copied to clipboard
A container for the result of a single torrentsearch.TorrentProvider query. ProviderResult is either a Success instance or any number of Error types.
Link copied to clipboard
Represents a parameter that may be consumed by a torrentsearch.TorrentProvider when executing a query.
Link copied to clipboard
class SearchResult
A container for ProviderResults across multiple TorrentProviders. SearchResult eagerly executes the query with each TorrentProvider in providers.
Link copied to clipboard
@Serializable
Represents a torrent listed on a torrentsearch.TorrentProvider. Contains all the provider's latest details for the torrent and a magnetUrl which can be used to download the torrent.
Link copied to clipboard
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.