shaco/
lib.rs

1//! # Shaco
2//!
3//! A wrapper for the League-Client and LoL-Ingame APIs
4//!
5//! - [RESTClient](rest::RESTClient): A REST client for the League-Client(LCU) API
6//! - [LcuWebsocketClient](ws::LcuWebsocketClient): Subscription based Websocket API for the League-Client(LCU) API
7//! - [IngameClient](ingame::IngameClient): A REST client for the LoL-Ingame API
8//! - [EventStream](ingame::EventStream): A wrapper around polling ingame events implementing the [futures_util::Stream] Trait
9//!
10//! If you are looking for a Rust library for the Riot Games API see [Riven](https://docs.rs/riven/latest/riven/)
11
12/// Error types for the whole library
13pub mod error;
14/// Contains the [IngameClient](ingame::IngameClient) and [IngameClient](ingame::EventStream)
15pub mod ingame;
16/// Contains all the type definitions for the data returned by the library
17pub mod model;
18/// Contains the [RESTClient](rest::RESTClient)
19pub mod rest;
20mod utils;
21/// Contains the [LcuWebsocketClient](ws::LcuWebsocketClient)
22pub mod ws;