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
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.3.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for league_client-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 986a925f6249f206676fdd1894b4538795306bac21b50c835793cb2fe729bd8a |
|
MD5 | 5c74a1c2552a066d002f402a049b4947 |
|
BLAKE2b-256 | f7c3128f0f9ddeb5eb482e04575060a3e7a5de4e899132dc15ede9cb316d8b81 |