News Matches
This endpoint allows you to retrieve the news from matches.
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 2 hours.
Recommended Calls: Limit calls to 1 every 2 hours.
Use Cases
Get news from a specific match_idhttps://badminton.sportdevs.com/news-matches?match_id=eq.{match_id}
Query Parameters
- match_id integer
Default value:
eq.100199
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 news
- match_id integer
The id of the match
- league_id integer
The id of the league
- league_name text
The name of the league
- league_hash_image character varying
Possible values:
<= 64 characters
The hash image of the league
- date timestamp with time zone
The date of the match
- title text
The title of the news
- name text
The name of the news
- subtitles jsonb
The subtitles
[
{
"id": 100199,
"match_id": 100199,
"league_id": 5153,
"league_name": "Olympic Games",
"league_hash_image": "839207dba78b9d7ce46b4dda5a318077adf1c9c518d0e9cf920583f43ced778f",
"date": "2024-07-28T16:30:00+00:00",
"title": "Olympic Tournament Singles 2024 Round 1: A Spectacular Display of International Badminton",
"name": "Olympic Tournament Singles 2024 Round 1: A Spectacular Display of International Badminton",
"subtitles": [
{
"text": "The away team also put up a strong performance in the first round of the Olympic Tournament Singles 2024. Despite the pressure of playing in a foreign environment, the away team's players showed great composure and skill on the court. They displayed a high level of technical proficiency and strategic acumen, making for some exciting badminton action. The away team's performance in the first round has certainly made them a team to watch out for in the rest of the tournament.",
"subtitle": "The Performance of the Away Team"
},
{
"text": "The first round of the Olympic Tournament Singles 2024 was a testament to the high level of competition in international badminton. Each match was a nail-biting encounter, with players giving their all to secure a win. The intensity of the competition was palpable, with every point fiercely contested. The players displayed exceptional skill and agility, making for some thrilling badminton action. The first round set the tone for the rest of the tournament, promising more exciting matches to come.",
"subtitle": "The Intense Competition of Round 1"
},
{
"text": "The home team played a crucial role in the first round of the Olympic Tournament Singles 2024. Their performance was commendable, demonstrating their prowess and determination on the court. The home team's players showed great resilience and tenacity, fighting for every point and keeping the spectators on the edge of their seats. Their performance was a testament to their hard work and preparation leading up to the tournament. The home team's performance in the first round has set high expectations for their future matches in the tournament.",
"subtitle": "The Role of the Home Team"
},
{
"text": "The much-anticipated Olympic Tournament Singles 2024 kicked off with a bang, marking the beginning of an exciting season of international badminton. The first round of the tournament was held on Sun Jul 28 2024 16:30:00 GMT+0000 (Coordinated Universal Time), and it was nothing short of spectacular. The event, part of the prestigious Olympic Games, saw some of the best badminton players from around the world showcasing their skills and strategies on the court. The atmosphere was electric, with fans from all corners of the globe cheering for their favorite teams and players.",
"subtitle": "The Opening of the Olympic Tournament Singles 2024"
}
]
}
]