[][src]Crate runeterra_game_api

Proxy API for the Legends of Runeterra Game Client API

Examples

use runeterra_game_api::{Client, DEFAULT_PORT};
#[tokio::main]
async fn main() {
   let client = Client::new(DEFAULT_PORT);
   let result = client.get_static_decklist().await;
   dbg!(&result);
}

Structs

Client
ExpeditionsState

The player's drafted cards during an Expedition.

GameResult

Result of the player's most recently completed game.

PositionalRectangles

The position of the cards in the collection, deck builder, Expedition drafts, and active games.

Rectangle

Information about a rectangle on screen.

Screen

Screen information.

StaticDecklist

The player's current deck in an active game.

Enums

Error

Constants

DEFAULT_PORT