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://basketball.sportdevs.com/news-matches?match_id=eq.{match_id}
Query Parameters
- match_id integer
Default value:
eq.496078
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": 496078,
"match_id": 496078,
"league_id": 2419,
"league_name": "Olympic Games",
"league_hash_image": "dfad9528e94915757c7ec2798f2b02d1db4df2bc559a9f96c26913d91f4272e5",
"date": "2024-07-27T10:00:00+00:00",
"title": "Olympic Games 2024: Germany vs Japan Round 1 Showdown at Stade Pierre Mauroy",
"name": "Olympic Games 2024: Germany vs Japan Round 1 Showdown at Stade Pierre Mauroy",
"subtitles": [
{
"text": "Despite having no wins in the previous dual matches against Germany, Japan, led by coach Thomas Wayne Hovasse, is determined to turn the tables this time. The team has been working hard on their strategies and gameplay. They are keen to make a mark in the Olympic Games 2024 and a win against Germany in the first round would be a great start. The team's spirit and determination could be the key to their success in the upcoming match.",
"subtitle": "Japan's Determination to Turn the Tables"
},
{
"text": "Germany, under the guidance of coach Gordon Herbert, has shown dominance in previous dual matches against Japan. The team has secured 2 wins, showcasing their strength and strategic gameplay. The team's performance has been commendable and they will be looking to continue their winning streak in the upcoming match. However, the Olympic Games are known for their unpredictability and surprises, so it will be interesting to see how the match unfolds.",
"subtitle": "Germany's Dominance in Previous Matches"
},
{
"text": "The Olympic Games 2024 is set to kick off with a thrilling match between Germany and Japan. The first round of the International class will take place at the iconic Stade Pierre Mauroy. The match is scheduled to start on Sat Jul 27 2024 10:00:00 GMT+0000 (Coordinated Universal Time). This is a highly anticipated match as both teams have been preparing rigorously for the tournament. The Olympic Games is a prestigious event and both teams will be looking to make a strong start.",
"subtitle": "The Stage is Set for an Epic Clash"
},
{
"text": "The Olympic Games 2024 promises to be a thrilling event with teams from around the world competing for the top spot. The match between Germany and Japan is one of the most anticipated matches of the tournament. With Germany's previous wins and Japan's determination to secure a victory, the match is expected to be a nail-biting event. Fans from around the world are eagerly waiting for the match to begin and the excitement is palpable. The stage is set for an epic showdown at the Stade Pierre Mauroy.",
"subtitle": "The Excitement Builds for the Olympic Games 2024"
}
]
}
]