Schedule & Results(all)
Update Time: 2021-11-22 14:13
Introduction
This API endpoint allows you to get the schedule and results of basketball matches with the corresponding date ( from the last two months to the future ) or leagueId.
The request path needs at least one parameter (date, leagueId, and matchId ) to retrieve the correct response. These three parameters can not be used at the same time.
Request
- Path: /sport/basketball/liveanimation/schedule/all/Unclassified
- Method: GET
- Calls: Unlimited calls for paid plans, 200 calls per day for free trial.
- Recommend Calls: 12 hour/call
- Parameters:
Parameter | Value | Required | Description |
---|---|---|---|
date | string | false | yyyy-MM-dd, e.g. 2019-08-01. |
leagueId | int | false | Get the schedule data of the current season of the specified event. |
season | string | false | Use with leagueID to get the specified season, e.g. 18-19. Return to the current season by default. |
matchId | int | false | Support querying the current season's matches. |
Response
Parameter | Value | Description |
---|---|---|
matchId | string | |
leagueId | string | |
leagueEn | string | |
leagueType | int | 2: the match has 2 quarter 4: the match has 4 quarter |
color | string | |
matchTime | string | GMT+8 |
matchState | 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 |
remainTime | string | |
homeTeamId | int | |
homeTeamEn | string | |
homeRankEn | string | |
awayTeamId | int | |
awayTeamEn | string | |
awayRankEn | string | |
overtimeCount | int | Number of overtime |
homeScore | int | |
home1 | int | |
home2 | int | |
home3 | int | |
home4 | int | |
homeOT1 | int | |
homeOT2 | int | |
homeOT3 | int | |
awayScore | int | |
away1 | int | |
away2 | int | |
away3 | int | |
away4 | int | |
awayOT1 | int | |
awayOT2 | int | |
awayOT3 | int | |
hasStats | int | Is there stats data? |
explainEn | string | Return to the live text of the match, e.g. [Spurs][SAS] Team Timeout: Regular. |
tv | string | |
isNeutral | boolean | Is it a neutral venue? |
season | string | |
matchKind | string | 1: Regular 2: post-season 3: Pre-season -1: No classification |
playoffsId | int | Only the playoffs have data |
cupQualifyId | int | Only the Cup has data |
roundTypeEn | string | e.g. in the first round, only the cup or playoffs have data |
group | string | e.g. Group A, only the cup has data |
Example Request
Example Response
{}