halo_api 0.3.0

Unofficial Halo Infinite REST API client for Rust (CSR, service record, match history, and more).
Documentation
1
2
3
4
5
6
7
8
9
mod common;
#[tokio::main]
async fn main() -> Result<(), common::ExampleError> {
    let (_, halo) = common::halo_infinite_client()?;
    let (gamertag, player) = common::player_xuid(&halo).await?;
    println!("Match counts for {gamertag}:");
    println!("{:#?}", halo.player_match_count(&player).await?);
    Ok(())
}