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 id = common::value("HALO_MATCH_ID", "Match ID")?;
    let (_, player) = common::player_xuid(&halo).await?;
    println!("{:#?}", halo.match_skill(&id, &[player]).await?);
    Ok(())
}