Open chuxiaaaa opened 1 month ago
提交内容
https:/127.0.0.1:{lcuport}/entitlements/v1/token
Authorization: Basic {lcutoken}
返回内容
{"accessToken":"","entitlements":[],"issuer":"","subject":"","token":""}
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查不到召唤师说明是其他大区的。
参见 #89
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}
返回内容
[{"puuid":"","alias":{"game_name":"","tag_line":""}}]