Matches By Date
This endpoint allows you to retrieve the matches from a specific date. The date has a format of YYYY-DD-MM.
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 day.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get matches from a specific datehttps://snooker.sportdevs.com/matches-by-date?date=eq.{date}
Query Parameters
- date text
Default value:
eq.1930-07-26
The date
- 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
- date text
The date
- matches jsonb
The matches
[
{
"date": "1930-07-26",
"matches": [
{
"id": 1963848,
"name": "Argentina vs USA",
"league_id": 832,
"season_id": 9390,
"start_time": "1930-07-26T15:00:00+00:00",
"league_name": "World Championship",
"season_name": "World Cup 1930",
"status_type": "finished",
"away_team_id": 674,
"home_team_id": 668,
"status_reason": "Ended",
"tournament_id": 5867,
"away_team_name": "USA",
"home_team_name": "Argentina",
"away_team_score": 1,
"home_team_score": 6,
"tournament_name": "World Cup, Knockout stage",
"league_hash_image": "58b220ef82cd5ae831b9dfcbef18f1cfc327c1943b3a8ef6e7bdf2120d2fd5e4",
"away_team_hash_image": "e53e0fb3c55a28a318bccf6b7a5c78afe4fe9f22181c922fcab556349db72cf4",
"home_team_hash_image": "c0544f9575c42f16d9b6efd9703233c34766d5cfdd8f434b452c9b248032cb29",
"tournament_importance": 665
}
]
}
]