Matches Tv Channels
This endpoint allows you to retrieve the tv channels for matches from all countries.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated several times a day.
Recommended Calls: Limit calls to 1 per hour.
Use Cases
Get tv channels from a specific match_idhttps://table-tennis.sportdevs.com/matches-tv-channels?match_id=eq.{match_id}
Get tv channels from a specific match_id and alphahttps://table-tennis.sportdevs.com/matches-tv-channels?match_id=eq.{match_id}&alpha=eq.{alpha}
Query Parameters
- match_id integer
Default value:
eq.3171
The id of the match
- alpha character varying
Default value:
eq.BR
The alpha2 of the country
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- match_id integer
The id of the match
- country_id integer
The id of the country
Note: This is a Foreign Key to
countries.id
. - country_name text
The name of the country
- country_hash_image character varying
Possible values:
<= 64 characters
The name image of the country
- alpha character varying
Possible values:
<= 2 characters
The alpha2 of the country
- tv_channels jsonb
The tv channels
[
{
"match_id": 3171,
"country_id": 16,
"country_name": "Brazil",
"country_hash_image": "bbaf8352442730e92c16c5ea6b0ff7cc595c24e02d8e8bfc5fea5a4e0bb0b46b",
"alpha": "BR",
"tv_channels": [
{
"id": 6,
"name": "Star+ Brazil"
}
]
}
]