文档
测试

比赛详情

GET
http://t1.vdarts.tw/MemberAPI/league4Match.php

请求参数

参数名
类型
描述
必填
match_id
int
比赛id
必填
requesttype
string
get_match_details
必填

响应参数

参数名
类型
描述
必填
code
int
0 (成功) -1(失败)
必填
msg
string
失败原因
必填
data
array
返回的数据
必填

说明 / 示例

请求接口 ``` curl 'http://t1.vdarts.tw/MemberAPI/league4Match.php?requesttype=get_match_details&match_id=137&token=dcc66b1e4b866de05180c0202774376d360401581b281f8132817487be98a755' -v ``` 返回参数 ``` {"code":"0","msg":"ok","data":{ { "id":160, "name":"u5929u9636u4e89u9738", "owner":"举办比赛者昵称", "match_detail":"{"games": ["Network Count up", "Horse Race", "Bermuda Trianle"], "players": [{"id": 18408, "rank": "BBB15.83", "nickname": "u56e0u4e3au2014u2014u6709u4f60"}, {"id": 425132, "rank": "N1", "nickname": "test0001"}, {"id": 425133, "rank": "N1", "nickname": "test0002"}, {"id": 425134, "rank": "N1", "nickname": "test0003"}, {"id": 425135, "rank": "N1", "nickname": "test0004"}], "players_count": 5, "rating_limit_max": "SSS28", "rating_limit_min": "N1", "elimination_system": "2", "rating_limit_offset_max": "20", "rating_limit_offset_min": "10"}", "players":5, "player_mode":8, "winner":425135, "start_time":"2021-11-26 00:43:00", "apply_deadline":"2021-11-26 00:16:53", "end_time":"2021-11-26 01:05:41", "registration_fee":0, "is_official":true,//true官方举办 false用户举办 "target_type":"soft", "status":'0'//比赛状态 0报名中 1开赛 2比赛结束 -1比赛异常 } } ```