Python package to communicate with riot client and league client
Project description
league-client
league-client is a python package to communicate with riot client and league client.
Installation
pip install league-client
Known Limitations
- RSO does not work in python3.6
Example
Define paths
>>> riot_exe = 'C:\\Riot Games\\Riot Client\\RiotClientServices.exe'
>>> riot_lockfile = 'C:\\Users\\sandbox\\AppData\\Local\\Riot Games\\Riot Client\\Config\\lockfile'
>>> league_lockfile = 'C:\\Riot Games\\League of Legends\\lockfile'
Log in
>>> from league_client.shortcuts import login
>>> login(
... 'username',
... 'password',
... riot_exe,
... riot_lockfile,
... league_lockfile,
... )
05/10/2022 12:18:09 PM - INFO - Logging in...
05/10/2022 12:18:18 PM - INFO - Waiting for session...
05/10/2022 12:18:22 PM - INFO - Session state: IN_PROGRESS
05/10/2022 12:18:28 PM - INFO - Session state: SUCCEEDED
05/10/2022 12:18:28 PM - INFO - Checking username...
{'ok': True}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
league-client-1.0.15.tar.gz
(14.2 kB
view hashes)
Built Distribution
Close
Hashes for league_client-1.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2145ceb673d70c0419403603deed2116ca0a8b6cd478928dfe811114a35ba98 |
|
MD5 | 6af116250d4c23db0772ee7b71194686 |
|
BLAKE2b-256 | c0d2cd286ea877995e5414663414613e3d56bd5c91ff90a7a4fec3c0b115e724 |