项目作者: nomi-san

项目描述 :
League Client REST API
高级语言:
项目地址: git://github.com/nomi-san/lcu-api.git
创建时间: 2020-12-25T16:10:12Z
项目社区:https://github.com/nomi-san/lcu-api

开源协议:

下载


lcu-api

League Client REST API / Swagger docs - v12.3

🧨 How to use?

  1. Turn your Chromium browser into insecure mode, or just unblock CORS with this extension
  2. Visit Swagger UI live demo here: https://petstore.swagger.io/
  3. Copy raw link of swagger.json or openapi.json
  4. Paste it to the URL bar in Swagger UI, then click Explore

🍳 How to retrieve from League Client?

  1. Turn off all running clients
  2. Open sysem.yaml in LeagueClient folder and add this line to the end
    1. enable_swagger: true
  3. Launch LeagueClient
  4. Get port and password in lockfile
    1. LeagueClient:%PID:%PORT:%PASS:%PROTOCOL
  5. Access these URLs
    1. https://127.0.0.1:%PORT/swagger/v2/swagger.json
    2. 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