Hanxven / LeagueAkari

✨兴趣使然、功能全面的英雄联盟工具集。
https://hanxven.github.io/LeagueAkari
MIT License
765 stars 45 forks source link

[Feature Request] 无需尾标搜索召唤师 #104

Open chuxiaaaa opened 1 month ago

chuxiaaaa commented 1 month ago

1.获取accessToken

提交内容

https:/127.0.0.1:{lcuport}/entitlements/v1/token

Authorization: Basic {lcutoken}


返回内容

{"accessToken":"","entitlements":[],"issuer":"","subject":"","token":""}


2.查询召唤师

提交内容

https://prod-rso.lol.qq.com:3001/aliases/v1/aliases?gameName={召唤师名称}&tagLine={尾标}

Authorization: Bearer {accessToken}

尾标是可省略的参数,如不提交(即删除&tagLine=)即为查全部同名召唤师


返回内容

[{"puuid":"","alias":{"game_name":"","tag_line":""}}]

所有大区的召唤师都会被查询出来,如果使用sgp或者lcu使用puuid查不到召唤师说明是其他大区的。

Hanxven commented 1 month ago

参见 #89