Irelia
Irelia is a set of bindings to native LoL APIs built on top of Hyper.
This crate provides support for Windows, with untested macOS support.
Please note, League of Legends will not be playable on wine as of patch 14.5, and as such, the platform is no longer supported
Note: The base64 encoder used in irelia requires a .cargo/config.toml, an example can be found here
Cargo Features
This crate is designed with modularity in mind, and as such API support has been split into different cargo features.
By default, this crate only ships with the rest feature enabled.
["full"]
- enables support for all APIs["ws"]
- enables support for the LCU websocket["in_game"]
- enables support for the native in game API["tauri]
- derives searialize on errors["batched"]
- enabled the batched request system
Examples
use ;
use Value;
/// Get the player from the client API
async
use ;
use Value;
/// Get the player from the in game API
async