项目作者: nomi-san
项目描述 :
League Client REST API
高级语言:
项目地址: git://github.com/nomi-san/lcu-api.git
lcu-api
League Client REST API / Swagger docs - v12.3
🧨 How to use?
- Turn your Chromium browser into insecure mode, or just unblock CORS with this extension
- Visit Swagger UI live demo here: https://petstore.swagger.io/
- Copy raw link of swagger.json or openapi.json
- Paste it to the URL bar in Swagger UI, then click Explore
🍳 How to retrieve from League Client?
- Turn off all running clients
- Open sysem.yaml in LeagueClient folder and add this line to the end
enable_swagger: true
- Launch LeagueClient
- Get port and password in lockfile
LeagueClient:%PID:%PORT:%PASS:%PROTOCOL
- Access these URLs
https://127.0.0.1:%PORT/swagger/v2/swagger.json
https://127.0.0.1:%PORT/swagger/v3/openapi.json
- Replace
%PORT
with your port - Login prompt appears, enter
riot
as username and your password