- api
- 资讯接口
- 系统接口
- 游戏接口
- 战队接口
- 用户操作
- 指数接口
- 登录注册
- 赛程接口
- 联赛接口
- 选手接口
- 聊天室接口
- 关注接口
获取比赛详情
测试环境
测试环境
GET
/match/info/{gameId}/{matchId}
请求参数
Path 参数
gameId
integer
游戏id
matchId
integer
比赛id
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.fnsjfnjf.com/match/info//'
返回响应
🟢200成功
application/json
Body
code
enum<integer>
响应码
枚举值:
10000200002000130001300023000330004310014000040001400024001140012400134001440015400204002140022400314003240040400414100041001
data
object (MatchInfoVO)
要返回的数据
yxId
integer
游戏Id
bsId
integer
比赛Id
zdxx
object (TeamBaseVO)
主队信息
kdxx
object (TeamBaseVO)
客队信息
ssxx
object (SeriesVO)
赛事信息
jdxx
object (StageVO)
阶段信息
bskssj
integer <int64>
比赛开始时间
zt
integer
状态
cp
string
裁判
cg
string
场馆
tq
object (WeatherVO)
可选
zdbf
array[integer]
可选
zdsl
number
主队胜率
zdxg
array [object]
可选
足球:黄牌数量、红牌数量、进球事件
kdbf
array[integer]
可选
kdsl
number
客队胜率
kdxg
array [object]
可选
xjwc
boolean
电竞:小局是否完成
dqsj
integer <int64>
当前比赛时间
xj
integer
可选
csgorn
integer
可选
lsxx
object (LeagueVO)
联赛信息
zbxx
array[object (LiveUrlVO) {3}]
直播信息
dhzb
array[object (AnimationVO) {2}]
动画直播地址
bp_phase
boolean
是否Bp阶段
blue_id
integer
蓝队ID
blue_kill
integer
蓝队击杀数
默认值:
0
blue_first_bloods
boolean
蓝队一血
默认值:
false
blue_first_towers
boolean
蓝队一塔
默认值:
false
blue_first_nashors
boolean
蓝队首大龙/肉山
默认值:
false
blue_first_drakes
boolean
蓝队首小龙
默认值:
false
blue_first_herald
boolean
可选
默认值:
false
blue_first_inhibitors
boolean
蓝队首水晶
默认值:
false
blue_first_barrack
boolean
可选
默认值:
false
blue_five_kills
boolean
蓝队第一个五杀
默认值:
false
blue_ten_kills
boolean
蓝队第一个十杀
默认值:
false
blue_gold
integer
蓝队经济
默认值:
0
blue_golds_diff
integer
蓝队经济差
默认值:
0
blue_16win
boolean
可选
默认值:
false
blue_fh_score
integer
可选
默认值:
0
blue_sh_score
integer
可选
默认值:
0
blue_timeout_win
boolean
蓝队是否超时获胜
默认值:
false
blue_side
integer
可选
默认值:
0
red_id
integer
红队ID
red_kill
integer
红队击杀数
默认值:
0
red_first_bloods
boolean
红队一血
默认值:
false
red_first_towers
boolean
红队一塔
默认值:
false
red_first_nashors
boolean
红队首大龙/肉山
默认值:
false
red_first_drakes
boolean
红队首小龙
默认值:
false
red_first_herald
boolean
可选
默认值:
false
red_first_inhibitors
boolean
红队首水晶
默认值:
false
red_first_barrack
boolean
可选
默认值:
false
red_five_kills
boolean
红队第一个五杀
默认值:
false
red_ten_kills
boolean
红队第一个十杀
默认值:
false
red_gold
integer
红队经济
默认值:
0
red_golds_diff
integer
红队经济差
默认值:
0
red_16win
boolean
可选
默认值:
false
red_fh_score
integer
可选
默认值:
0
red_sh_score
integer
可选
默认值:
0
red_timeout_win
boolean
红队是否超时获胜
默认值:
false
red_side
integer
可选
默认值:
0
bo
integer
bo
blueData
array[object (Object)]
蓝队数据(电竞)
redData
array[object (Object)]
红队数据(电竞)
errorMessage
string
错误信息
message
string
响应消息
示例
{
"code": 0,
"data": {
"yxId": 0,
"bsId": 0,
"zdxx": {
"yxId": 0,
"dyid": 0,
"dymc": "",
"dyjc": "",
"dytb": "",
"gzbs": false
},
"kdxx": {
"yxId": 0,
"dyid": 0,
"dymc": "",
"dyjc": "",
"dytb": "",
"gzbs": false
},
"ssxx": {
"yxId": 0,
"ssId": 0,
"ssmc": "",
"ssjc": "",
"sstb": ""
},
"jdxx": {
"stageId": 0,
"mode": 0,
"groupCount": 0,
"roundCount": 0,
"name": ""
},
"bskssj": 0,
"zt": 0,
"cp": "",
"cg": "",
"tq": {
"tq": "",
"windSpeed": "",
"airPressure": "",
"humidity": "",
"temperature": ""
},
"zdbf": [
0
],
"zdsl": 0,
"zdxg": [
{}
],
"kdbf": [
0
],
"kdsl": 0,
"kdxg": [
{}
],
"xjwc": false,
"dqsj": 0,
"xj": 0,
"csgorn": 0,
"lsxx": {
"yxId": 0,
"lsId": 0,
"lsmc": "",
"lsjc": "",
"lstb": ""
},
"zbxx": [
{
"m3u8": "",
"flv": "",
"yuan": ""
}
],
"dhzb": [
{
"version": "",
"url": ""
}
],
"bp_phase": false,
"blue_id": 0,
"blue_kill": 0,
"blue_first_bloods": false,
"blue_first_towers": false,
"blue_first_nashors": false,
"blue_first_drakes": false,
"blue_first_herald": false,
"blue_first_inhibitors": false,
"blue_first_barrack": false,
"blue_five_kills": false,
"blue_ten_kills": false,
"blue_gold": 0,
"blue_golds_diff": 0,
"blue_16win": false,
"blue_fh_score": 0,
"blue_sh_score": 0,
"blue_timeout_win": false,
"blue_side": 0,
"red_id": 0,
"red_kill": 0,
"red_first_bloods": false,
"red_first_towers": false,
"red_first_nashors": false,
"red_first_drakes": false,
"red_first_herald": false,
"red_first_inhibitors": false,
"red_first_barrack": false,
"red_five_kills": false,
"red_ten_kills": false,
"red_gold": 0,
"red_golds_diff": 0,
"red_16win": false,
"red_fh_score": 0,
"red_sh_score": 0,
"red_timeout_win": false,
"red_side": 0,
"bo": 0,
"blueData": [
{}
],
"redData": [
{}
]
},
"errorMessage": "",
"message": ""
}
修改于 2025-04-12 08:55:47