文档
测试

3.1 match

POST
/api/log/match

接口描述

Get a list of ongoing races, and return upto 20 records.

Headers

参数名
类型
描述
必填
Authorization
string
Example:9b358d8549004bd0bb48b3f94ae7e2a5
必填
Content-Language
string
Language packs (optional), the default language for opening an account, Example:ENG
必填

Form Data

参数名
类型
描述
必填
ID
number
Game ID Example: 1 (Seeing Appendix 2 for more details of competition types)
必填

Response

参数名
类型
描述
必填
success
number
Example:1
必填
msg
string
Example:30ms
必填
info
array
Data list
必填
ID
number
Match number Example:45705
必填
GameID
number
Game ID Example:1
必填
Game
string
Game name Example:PlayerUnknown's Battlegrounds
必填
LeagueID
number
League ID Example:2080
必填
League
string
League name Example:Tiger Fate Cup
必填
Title
string
Match title Example:Playoffs vs players
必填
StartAt
string
Match start time Example:2020-03-27 00:00:00
必填
EndAt
string
Estimated end time of the game Example:2020-03-27 04:00:00
必填
Status
string
Match status example:Normal
必填
Cover
string
Match cover image for PC end Example::https://img-cdn.a8.gl/images/space.png
必填
MobileCover
string
Match cover image for mobile end Example:https://img-cdn.a8.gl/images/space.png
必填
HomeID
number
Home team ID Example:6390
必填
Home
string
Home team name Example:Playoffs
必填
HomeLogo
string
Home team LOGO Example:https://img-cdn.a8.to/upload/201909/4ff25ff8fb25bf7a.png
必填
AwayID
number
Away Team ID Example:5951
必填
Away
string
Away Team Name Example:Player
必填
AwayLogo
string
Away team LOGO Example:https://img-cdn.a8.to/upload/201907/05115753e930.png
必填
HomeScore
number
Current home team score Example:0
必填
AwayScore
number
Current away team score Example:0
必填
Type
string
Match format type Example: BO3 (seeing Appendix 2 for more details)
必填

Description / Example

`curl https://api.xx.com/api/log/match -X POST -H "Authorization: 9b358d8549004bd0bb48b3f94ae7e2a5" -H "Content-Type:application/x-www-form-urlencoded" -d "ID=1"` Response body example: ```language { "success":1, "msg":"Query Successful", "info":[{ ID: 45703, GameID: 2322, Game: "Tom Clancy's Rainbow Six", LeagueID: 2505, League: "Dreamhack Valencia Station", Title: "Unique VS Adventure Force", StartAt: "2020-03-28 00:00:00", EndAt: "2020-03-28 04:00:00", Status: "Normal", Cover: https://img-cdn.a8.gl/upload/202003/810438089642617a.png, MobileCover: https://img-cdn.a8.gl/upload/202003/313c3046c807b8d0.jpeg, HomeID: 6714, Home: "Unique", HomeLogo: https://img-cdn.a8.to/upload/201911/3d7b930a0865c6a6.png, AwayID: 6608, Away: "Adventure Force", AwayLogo: https://img-cdn.a8.to/upload/201910/f54aff3a8a654246.png, HomeScore: 0, AwayScore: 0, Type: "BO3" }] } ```