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://volleyball.sportdevs.com/matches-tv-channels?match_id=eq.{match_id}
Get tv channels from a specific match_id and alphahttps://volleyball.sportdevs.com/matches-tv-channels?match_id=eq.{match_id}&alpha=eq.{alpha}
Query Parameters
- match_id integer
Default value:
eq.15
The id of the match
- alpha character varying
Default value:
eq.SM
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": 15,
"country_id": 5,
"country_name": "San Marino",
"country_hash_image": "6ff9250a7351ff2fa2f8c6872393edf6f5eb782c90256d65d87517d9c029ced2",
"alpha": "SM",
"tv_channels": [
{
"id": 921,
"name": "EuroVolleyTV"
}
]
}
]