Crate prelate_rs

Source
Expand description

prelate-rs is an async-ready library wrapper around the aoe4world API.

Use it to retrieve game statistics, player information, and general awesomeness from aoe4world in your Rust applications.

Re-exports§

pub use chrono;
pub use futures;
pub use strum;

Modules§

query
Contains query builders to interact with the aoe4world API.
types
Contains type definitions needed to interact with the AoE4 world API.

Enums§

CountryCode
An enumeration of all ISO-3166-1 country codes

Functions§

global_games
Returns a GlobalGamesQuery. Used to query the /games endpoint.
leaderboard
Returns a ProfileGamesQuery. Used to query the /leaderboards/{leaderboard} endpoint.
profile
Returns a ProfileQuery. Used to get profile for a player.
profile_games
Returns a ProfileGamesQuery. Used to query the /profile/{profile_id}/games endpoint.
search
Returns a SearchQuery. Used to query the /players/search endpoint.