Skip to main content

Connects to the LCU

Project description

This project helps to easily connect to Riot Games' LCU API. To use this, install with

pip install lcu_connector_python

When you want to use it.

import lcu_connector_python as lcu
api_connection_data = lcu.connect()

If League of Legends is not install in the defualt location, "C:/Riot Games/League of Legends", then you will need to pass the location of your league folder. Example:

import lcu_connector_python as lcu
api_connection_data = lcu.connect("C:/Riot Games/League of Legends/RADS/projects/league_client/releases/0.0.0.178/deploy/LeagueClient.exe")

The connect() function returns a dictionary which include data required to connect to the LCU

{
    port: "localhost port number",
    url: "url used to communicated with the lcu",
    authorization: "auth token",
    connection_method: "http or https"
}

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lcu_connector_python-1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lcu_connector_python-1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file lcu_connector_python-1.0.tar.gz.

File metadata

  • Download URL: lcu_connector_python-1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.9.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for lcu_connector_python-1.0.tar.gz
Algorithm Hash digest
SHA256 14234b25671a864186746a704b69554edb4561bae72ea2637b3cf357df45f9a8
MD5 cee08e0396db734a292b562bf4553c55
BLAKE2b-256 dcca3aeb9a74fc32902b03e5d652111f17580adad997bea02e0dd5560c4ebc7d

See more details on using hashes here.

File details

Details for the file lcu_connector_python-1.0-py3-none-any.whl.

File metadata

  • Download URL: lcu_connector_python-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.9.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for lcu_connector_python-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37708e46e4a93381b10735ed631f4ad6be46a289b7dbb5cc8635a7e850ace2a7
MD5 7b1f82f6fdcf0e14246dcc474d113b38
BLAKE2b-256 c6da978bdb75fb9d10b6442aebd3f51e8758fbeb084be7e36106f16c052105e0

See more details on using hashes here.

Supported by

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