Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
/ lcu-api Public archive

League Client REST API

Notifications You must be signed in to change notification settings

nomi-san/lcu-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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
enable_swagger: true
  1. Launch LeagueClient
  2. Get port and password in lockfile
LeagueClient:%PID:%PORT:%PASS:%PROTOCOL
  1. 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

Releases

No releases published

Packages

No packages published