Matches Highlights
This endpoint allows you to retrieve the highlights from matches. It has all social media posts about the match.
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 every 10 seconds during a live match.
Recommended Calls: Limit calls to 1 per 10 seconds during a live match.
Use Cases
Get highlights from a specific match_idhttps://darts.sportdevs.com/matches-highlights?match_id=eq.{match_id}
Query Parameters
- match_id integer
Default value:
eq.38363
The id of the match
- 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 highlight
Note: This is a Primary Key.
- match_id integer
The id of the match
Note: This is a Foreign Key to
matches-live.id
. - title text
The title of the highlight
- subtitle text
The subtitle of the highlight
- url text
The url of the highlight
- created_at timestamp with time zone
The publishing date of the highlight
- source_url text
The source url of the highlight
[
{
"id": 1,
"match_id": 38363,
"title": "Van Gerwen M. 9-11 Humphries L.",
"subtitle": "Nine Darter!",
"url": "https://www.youtube.com/watch?v=zGcyM7xwa18",
"created_at": "2023-11-27T07:21:46+00:00",
"source_url": "https://www.youtube.com/watch?v=zGcyM7xwa18"
}
]