League & Cup Profile
Update Time: 2024-03-18 16:58
Introduction
This API endpoint returns complete information of cups and leagues. Click here to view all leagues & cups.
Related Plans
You can use this api by subscribing plans: Live Data.
Request
- Path: /sport/basketball/league
- Method: GET
- Calls: This interface is limited to 1800 second/call;
- Recommend Calls: 1 day/call
- Parameters:
Parameter | Value | Required | Description |
---|---|---|---|
leagueId | string | false | Get the league information of the specified leagueId. |
Response
Parameter | Value | Description |
---|---|---|
leagueId | string | |
color | string | RGB color code string, e.g. #9933FF |
leagueName | string | |
leagueShortName | string | |
leagueType | string | 2: the match has 2 quarter 4: the match has 4 quarter |
currentMatchSeason | string | such as 19-20 |
countryId | string | |
country | string | country or region name |
leagueKind | string | 1: league 2: cup |
logo | string | image url. The picture is saved locally for use, please do not call it directly. |
partTime | string | minutes of each section, such as 10:00 |
Example Request
Example Response
{}