文档
测试

3.2 category

POST
/api/log/category

接口描述

Get all lists of games and leagues with betting matches under games.

Headers

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

Response

参数名
类型
描述
必填
success
number
Example:1
必填
msg
string
Example:1ms
必填
info
array
Data List
必填
ID
number
Game ID Example:1
必填
Name
string
Game name Example:PlayerUnknown's Battlegrounds
必填
Code
string
Game code Example:PUBG
必填
Cover
string
Game icon Example:https://img-cdn.a8.gl/upload/201911/9da3ac89c7b67a2e.png
必填
Count
number
Number of matches under the game Example:3
必填
League
array
List of leagues with matches under the game
必填
ID
number
League ID Example:2038
必填
GameID
number
Game Example:1
必填
Name
string
League name Example: Penguin Esports Cup
必填
Count
number
Number of matches in the league Example:2
必填
Logo
string
League icon Example:https://img-cdn.a8.gl/upload/201804/302014452f11.png
必填

说明 / 示例

`curl https://api.xx.com/api/log/category -X POST -H "Authorization: 9b358d8549004bd0bb48b3f94ae7e2a5" -H "Content-Type:application/x-www-form-urlencoded" -d ""` Response body Example: ```language { "success":1, "msg":"Query Successful", "info":[{ "ID": 1, "Name": "PlayerUnknown's Battlegrounds", "Code": "PUBG", "Cover": "https://img-cdn.a8.gl/upload/201911/9da3ac89c7b67a2e.png", "Count": 3, "League": [{ "ID": 2038, "GameID": 1, "Name": "Penguin Gaming Cup", "Count": 2, "Logo": "https://img-cdn.a8.gl/upload/201804/302014452f11.png" }, { "ID": 2080, "GameID": 1, "Name": "Tiger Fate Cup", "Count": 1, "Logo": "https://img-cdn.a8.gl/upload/201804/30202138fa43.png" }] }] } ```