thesportsdb-client

Tv
in package

FinalYes

filter/tv/.

..

Table of Contents

Properties

$r  : Requester

Methods

channel()  : array<int, TvListing>
channelId()  : array<int, TvListing>
country()  : array<int, TvListing>
day()  : array<int, TvListing>
sport()  : array<int, TvListing>
get()  : array<int, TvListing>

Properties

$r read-only

private Requester $r

Methods

channel()

public channel(string $name) : array<int, TvListing>
Parameters
$name : string
Return values
array<int, TvListing> —

by channel name in the API's spelling ("TSN 1", not "TSN1"); partial names match

channelId()

public channelId(int $channelId) : array<int, TvListing>
Parameters
$channelId : int
Return values
array<int, TvListing>

country()

public country(string $country) : array<int, TvListing>
Parameters
$country : string
Return values
array<int, TvListing> —

about a week of listings for a country, e.g. "Canada"

day()

public day(DateTimeInterface $date) : array<int, TvListing>
Parameters
$date : DateTimeInterface
Return values
array<int, TvListing> —

every listing worldwide on a day

sport()

public sport(string $sport) : array<int, TvListing>
Parameters
$sport : string
Return values
array<int, TvListing>

get()

private get(string $kind, string|int|DateTimeInterface $value) : array<int, TvListing>
Parameters
$kind : string
$value : string|int|DateTimeInterface
Return values
array<int, TvListing>
On this page

Search results