Basic package to send and receive requests from the League of Legends client
Project description
lolclient_lib
Basic package to send and receive requests to the League of Legends client.
Installation
pip install lolclient-lib
How to use
from lolclient import *
reqInfo = clientInfo()
clientInfo()
will return the basic url and authorization header needed to send POST and GET requests.
Always put reqInfo
as the first parameter for every method.
Example
from lolclient import *
reqInfo = clientInfo()
createLobby(reqInfo, Lobby.DRAFT)
startMatchmaking(reqInfo)
Automatically creates a normal draft lobby, and starts the matchmaking.
More examples:
name = getSummonerName(reqInfo))
>> Return your summoner name
createLobbyCustom(reqInfo, 5)
>> Creates a custom lobby of team size 5
createLobby(reqInfo, Lobby.RANKED_SOLO)
>> Creates a ranked solo lobby
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lolclient-lib-0.0.4.tar.gz
.
File metadata
- Download URL: lolclient-lib-0.0.4.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02bb8f5ce103bfa34d2f496d6fdc701b4f7f91d07c2f7750f2402553f68e583a |
|
MD5 | 03ba2411a6470d840d6b4febdb4731e1 |
|
BLAKE2b-256 | 6e6be3bec80e7232285ddf3302b83a5f7a675c81df442bdbb2dd271570ec500d |
Provenance
File details
Details for the file lolclient_lib-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: lolclient_lib-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd0668c295f18fe45dd6ba30e014f50983aeb7438226c81ebef860f713bf6324 |
|
MD5 | c6a2aa4a2503e609353bb2f91ed97f2e |
|
BLAKE2b-256 | ac06e5dfb176cedf11a9fc6a36c8daac3af776d95cdceca3450cad06377976a7 |