Tv

class Tv

filter/tv/...: TV listings.

Functions

Link copied to clipboard
suspend fun channel(channelId: Long): List<TvListing>

Listings for a channel by TvListing.channelId.

suspend fun channel(name: String): List<TvListing>

Listings for a channel by name. The name must use TheSportsDB's spelling (TSN 1, not TSN1); partial names match too (Sportsnet finds SportsNet West).

Link copied to clipboard
suspend fun country(country: String): List<TvListing>

About a week of listings for a country, e.g. Canada.

Link copied to clipboard
suspend fun day(date: LocalDate): List<TvListing>

Every listing worldwide on a day.

Link copied to clipboard
suspend fun sport(sport: String): List<TvListing>

Listings for a sport, e.g. Ice Hockey.