-
Notifications
You must be signed in to change notification settings - Fork 0
GetHotEvents
Alex Lin edited this page May 16, 2024
·
2 revisions
此API用于获取熱門赛事相关信息包含依熱門成度排序之盘口信息
GET /sports/{version}/GetHotEvents?language=cs
Accept: application/json
Accept-Encoding: br, gzip, deflate
X-Forwarded-For: client ip (如果通过代理使用API需要额外带入)
Authorization: Bearer {JWT token}
Parameter | Description |
---|---|
language | 指定欲回应的数据语系,请参阅Language Table |
[
{
"event": {},
"markets" []
}
]
Name | Format | Description |
---|---|---|
event | Event array | 熱門赛事信息 |
markets | Market array | 熱門盘口信息列表 |
赛事相关信息请参阅GetEvent
{
"sportType": int,
"eventId": int,
"betType": int,
"betTypeName": string,
"marketId": int,
"maxBet": decimal,
"isLive": bool,
"marketStatus": string,
"gameMap": short?,
"gameRound": short?,
"resourceId": string,
"category": int,
"showCategory": string,
"sort": int,
"combo": int,
"selections": SelectionInfo[]
}
Name | Format | Description | Queryable | Query Example |
---|---|---|---|---|
sportType | int | 体育项目ID | No | — |
eventId | int | 赛事ID | No | — |
betType | int | 投注类型 | No | — |
betTypeName | string | 投注类型名称 | No | — |
marketId | int | 盘口ID | No | — |
maxBet | decimal | 最大投注限额 | No | — |
isLive | bool | 是否为滚球赛事 | No | — |
marketStatus | string | 盘口状态 running / suspend / closePrice / closed |
No | — |
gameMap | short? | [电子竞技专用]游戏地图 当体育项目sport type = 43 且投注类型bettype于9001-9142之间 |
No | — |
gameRound | short? | [电子竞技专用] 游戏回合 当体育项目sport type = 43 且投注类型bettype = 9007, 9011, 9027, 9062, 9068, 9070, 9071, 9072, 9073, 9077, 9089 |
No | — |
resourceId | string | 投注类型中的 X 和 Y 值 格式为 XX 或 XXYY。 例如:投注类型 9007 Map 1 Firstto 5 Kills。收到的 resourceId 值为 0105。 |
No | — |
category | int | 投注类型分类 0: None (主要) 1: FullTime (全场) 2: Half (半场) 3: Corners (角球)/Bookings (罚牌) 4: Intervals (区间) 5: Specials (特别产品) 6: Players (选手) 7: FastMarket (快速盘口) 8: Quarter (节) 9: ExtraTime (加时) 10: Penalty (点球) 11-40: E-Sports Map 1-30 (电子竞技适用 – 地图 1~30) 41: Ending Game (末位数游戏) |
No | — |
showCategory | string | 投注类型分类 0: None (主要) 1: FullTime (全场) 2: Half (半场) 3-1: Corners (角球) 3-2: Bookings (罚牌) 4: Intervals (区间) 5: Specials (特别产品) 6: Players (选手) 7: FastMarket (快速盘口) 8: Quarter (节) 9: ExtraTime (加时) 10: Penalty (点球) 11-40: E-Sports Map 1-30 (电子竞技适用 – 地图 1~30) 41: Ending Game (末位数游戏) |
No | — |
sort | int | 排序球头 当投注类型betType= 1,3,7,8,219,220,401,402,475,476,477,478,486,487,701,704,705,3907,3908,3913 且有多球头时, 其中只有SportType= 43(电子竞技)sort为0。 |
No | — |
combo | int | 赛事串关数量限制 0: 该盘口不支持串关 2: 下注时最少需要选2种组合 3: 下注时最少需要选3种组合 4,5....以此类推 |
No | — |
selections | SelectionInfo[] | 盘口赔率项目列表 | No | — |
[
{
"key": string,
"keyName": string,
"point": decimal?,
"point2": decimal?,
"oddsPrice": OddsPriceInfo
}
]
Name | Format | Description | Queryable | Query Example |
---|---|---|---|---|
key | string | 投注类型选项 | No | — |
keyName | string | 投注类型选项名称 | No | — |
point | decimal? | 球头 | No | — |
point2 | decimal? | 球头2 Only for bet type=646; point=HDP, point2=OU |
No | — |
oddsPrice | OddsPriceInfo | 赔率相关信息 | No | — |
{
"parlayPrice": decimal,
"malayPrice": decimal,
"hongKongPrice": decimal,
"decimalPrice": decimal,
"indoPrice": decimal,
"americanPrice": decimal
}
Name | Format | Description | Queryable | Query Example |
---|---|---|---|---|
parlayPrice | decimal | 串关赔率 | No | — |
malayPrice | decimal | 马来盘赔率 | No | — |
hongKongPrice | decimal | 香港盘赔率 | No | — |
decimalPrice | decimal | 欧洲盘赔率 | No | — |
indoPrice | decimal | 印度尼西亚盘赔率 | No | — |
americanPrice | decimal | 美国盘赔率 | No | — |
© 2022 S A B A S P O R T S
v1
beta
Betting _Flow
v1
beta
Cashout _Flow
v2
- Server-sent events (服务器发送事件)
- Sport Table (体育项目对照表)
- Language Table (语系对照表)
- Country Table (国别对照表)
- Currency Table (币别对照表)
- Parlay Combo Enumeration (串关组合列表)
- BetType Selection Information (投注类型与选项)
- E-Sports Group Enumeration (电子竞技群组列表)
- Event Time Parameter Enumeration (赛事时间参数对照表)
- Event and Market Status Information(赛事盘口状态对照表)