Schedule & Results (Basic)
Update Time: 2022-05-30 10:25
Introduction
• This API endpoint returns the basic information of the match.
• The request path needs at least one parameter (date, leagueId, and matchId ) to retrieve correct response. These three parameters can not be used at the same time.
• You can use it with the Match Modify Record endpoint.
• Tips: You have access to all the basketball Common API endpoints with any valid paid basketball plans.
Request
- Path: /sport/basketball/schedule/basic
- Method: GET
- Calls: This interface is limited to 60 second/call;
- Recommend Calls: 12 hour/call
- Parameters:
Parameter | Value | Required | Description |
---|---|---|---|
date | string | false | yyyy-MM-dd, e.g. 2019-08-01. |
leagueId | string | false | |
season | string | false | Use with leagueID to get the specified season, e.g. 18-19. Return to the current season by default |
matchId | string | false | Support querying the current season's matches. |
Response
Parameter | Value | Description |
---|---|---|
matchId | string | |
leagueId | string | |
leagueName | string | Short name, e.g. NBA. |
quarterCount | int | 2: the match has 2 quarter 4: the match has 4 quarter |
matchTime | int | Match scheduled time, unix timestamp |
status | int | 0: Not started 1: The first quarter 2: The second quarter 3: The third quarter 4: The fourth quarter 5: The first OT 6: The second OT 7: The third OT 50: Half-time -1: Finished -2: TBD -3: Interrupted -4: Cancelled -5: Postponed |
homeId | string | |
homeName | string | |
awayId | string | |
awayName | string | |
homeScore | int | |
awayScore | int | |
explain | string | Return to the live text of the match, e.g. [Spurs][SAS] Team Timeout: Regular. |
neutral | boolean | Is it a neutral venue? |
Example Request
Example Response
{}