🐍 Python3 interface for League of Legends Client API


Keywords
lcu-api, league-of-legends, python, riot-games
License
MIT
Install
pip install lcu-driver==1.0.0

Documentation

lcu-driver

lcu-driver is a library made to communicate with League of Legends Client API in a easy way. It provides an API capable of handling LCU connection status and websockets events for you and prepare HTTP requests to be used directly with endpoints. Inspired in lcu-connector. It has been tested on Windows, Linux and MacOS.

If you don't feel like using lcu-driver or it doesn't suit your needs, I recommend trying Willump. Willump is an amazing and simple alternative to this library.

PyPi last-commit license

If you have any questions about how LCU API works or you're having problems with lcu-driver join Riot API Dev Community Discord server or send a private message to André#5360

Download

  • $ pip install lcu-driver

Problems

When running an application built using lcu-driver, some users will come across the AccessDenied error. To fix this error you should install psutil in a version earlier than 5.7.0.

Running the command below should solve the problem.

  • $ pip install -U psutil==5.6.5

Documentation

You can find lcu-driver documentation here

Endorsement

lcu-driver isn’t endorsed by Riot Games and doesn’t reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.