Tv Channels
This endpoint allows you to retrieve the tv channels.
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 week.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get tv channelshttps://baseball.sportdevs.com/tv-channels
Get tv channels based on the namehttps://baseball.sportdevs.com/tv-channels?name=like.*Sportklub*
Get tv channels based on the idhttps://baseball.sportdevs.com/tv-channels?id=eq.{id}
Query Parameters
- id integer
Default value:
eq.1
The id of the tv channel
- 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
- id integer
The id of the tv channel
Note: This is a Primary Key.
- name text
The name of the tv channel
[
{
"id": 1,
"name": "Apple TV+ | MLS Season Pass"
}
]