-
Notifications
You must be signed in to change notification settings - Fork 41
lol champ select
XHXIAIEIN edited this page Jan 28, 2021
·
8 revisions
在英雄选择页面中调用的API
根据 championId
查看指定的英雄选择状态,例如角色定位、是否可选,是否免费轮换,是否已拥有,成就等级...
await connection.request('GET', '/lol-champ-select/v1/grid-champions/{championId}')
返回结果
{
"disabled": false,
"freeToPlay": false,
"freeToPlayForQueue": false,
"freeToPlayReward": false,
"id": 16,
"masteryChestGranted": false,
"masteryLevel": 1,
"masteryPoints": 1000,
"name": "众星之子",
"owned": true,
"positionsFavorited": [
"support"
],
"rented": false,
"roles": [
"support",
"mage"
],
"selectionStatus": {
"banIntented": false,
"banIntentedByMe": false,
"isBanned": false,
"pickIntented": false,
"pickIntentedByMe": false,
"pickIntentedPosition": "",
"pickedByOtherOrBanned": false,
"selectedByMe": false
},
"squarePortraitPath": "/lol-game-data/assets/v1/champion-icons/16.png"
}