Skip to main content

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

lolclient-lib-0.0.4.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

lolclient_lib-0.0.4-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page