Media Players
This endpoint allows you to retrieve the media from players.
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 media from a specific player_idhttps://table-tennis.sportdevs.com/media-players?player_id=eq.{player_id}
Query Parameters
- player_id integer
Default value:
eq.27240
The id of the player
- 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 media
Note: This is a Primary Key.
- player_id integer
The id of the player
- title text
The title of the media
- subtitle text
The subtitle of the media
- url text
The url of the media
- thumbnail_url text
The thumbnail url of the media
- date_published timestamp with time zone
The date of publishing the media
- channel_url text
The source url of the media
[
{
"id": 2292,
"player_id": 27240,
"title": "Pitchford L. 3-1 Matsushima S.",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=qZaLFIH_lwA",
"thumbnail_url": "https://img.youtube.com/vi/qZaLFIH_lwA/hqdefault.jpg",
"date_published": "2023-10-14T12:43:16+00:00",
"channel_url": "https://www.youtube.com/watch?v=qZaLFIH_lwA"
},
{
"id": 2293,
"player_id": 27240,
"title": "Harimoto T. 2-3 Kallberg A.",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=bsIRlmVLEJU",
"thumbnail_url": "https://img.youtube.com/vi/bsIRlmVLEJU/hqdefault.jpg",
"date_published": "2023-10-14T11:53:37+00:00",
"channel_url": "https://www.youtube.com/watch?v=bsIRlmVLEJU"
},
{
"id": 2294,
"player_id": 27240,
"title": "Geraldo J. 0-3 Calderano H.",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=xQRCfWcffo4",
"thumbnail_url": "https://img.youtube.com/vi/xQRCfWcffo4/hqdefault.jpg",
"date_published": "2023-10-14T11:52:44+00:00",
"channel_url": "https://www.youtube.com/watch?v=xQRCfWcffo4"
},
{
"id": 2295,
"player_id": 27240,
"title": "Karlsson K. 2-3 Kallberg A.",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=eaQaWO8YLaI",
"thumbnail_url": "https://img.youtube.com/vi/eaQaWO8YLaI/hqdefault.jpg",
"date_published": "2023-10-14T06:50:06+00:00",
"channel_url": "https://www.youtube.com/watch?v=eaQaWO8YLaI"
},
{
"id": 2296,
"player_id": 27240,
"title": "Robles A. 2-3 Junsung OH.",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=zYPBlFE-Ovc",
"thumbnail_url": "https://img.youtube.com/vi/zYPBlFE-Ovc/hqdefault.jpg",
"date_published": "2023-10-14T06:40:46+00:00",
"channel_url": "https://www.youtube.com/watch?v=zYPBlFE-Ovc"
},
{
"id": 2297,
"player_id": 27240,
"title": "Harimoto T. 3-1 Allegro M.",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=qo7hDv-aoEc",
"thumbnail_url": "https://img.youtube.com/vi/qo7hDv-aoEc/hqdefault.jpg",
"date_published": "2023-10-12T07:40:17+00:00",
"channel_url": "https://www.youtube.com/watch?v=qo7hDv-aoEc"
},
{
"id": 2298,
"player_id": 27240,
"title": "Lind A. 3-2 Pucar T.",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=hpXYyFyY9eo",
"thumbnail_url": "https://img.youtube.com/vi/hpXYyFyY9eo/hqdefault.jpg",
"date_published": "2023-10-12T07:39:34+00:00",
"channel_url": "https://www.youtube.com/watch?v=hpXYyFyY9eo"
},
{
"id": 2299,
"player_id": 27240,
"title": "Cho S. 1-3 Pitchford L.",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=QCAqbImlR40",
"thumbnail_url": "https://img.youtube.com/vi/QCAqbImlR40/hqdefault.jpg",
"date_published": "2023-10-12T07:37:26+00:00",
"channel_url": "https://www.youtube.com/watch?v=QCAqbImlR40"
},
{
"id": 2300,
"player_id": 27240,
"title": "Franziska P. 1-3 Gauzy S.",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=Wy3fl0PM0sc",
"thumbnail_url": "https://img.youtube.com/vi/Wy3fl0PM0sc/hqdefault.jpg",
"date_published": "2023-10-12T07:35:52+00:00",
"channel_url": "https://www.youtube.com/watch?v=Wy3fl0PM0sc"
},
{
"id": 2301,
"player_id": 27240,
"title": "Togami S. 3-1 Wong C.",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=KwAcBV79rfE",
"thumbnail_url": "https://img.youtube.com/vi/KwAcBV79rfE/hqdefault.jpg",
"date_published": "2023-10-12T07:30:22+00:00",
"channel_url": "https://www.youtube.com/watch?v=KwAcBV79rfE"
}
]