warframe

Crates.iowarframe
lib.rswarframe
version7.0.1
created_at2023-11-16 22:34:56.07506+00
updated_at2025-07-06 18:40:03.822102+00
descriptionAn async crate to wrap Warframe's Worldstate API.
homepagehttps://docs.rs/warframe
repositoryhttps://github.com/Mettwasser/warframe.rs
max_upload_size
id1038226
size4,439,423
(Mettwasser)

documentation

https://docs.rs/warframe

README

warframe.rs

An async crate to wrap the Worldstate API and the warframe.market API.

Use this crate if you want to make a Warframe-related rust project that is async.

Getting started

To install, simply run cargo add warframe.

Note that the MSRV of this project is 1.85.

Example

use warframe::worldstate::{Client, Error, queryable::Cetus, Opposite, TimedEvent};

#[tokio::main]
async fn main() -> Result<(), Error> {
    let client = Client::new();

    let cetus = client.fetch::<Cetus>().await?;
    println!(
        "It is currently {} on cetus. It will be {} in {}",
        cetus.state,
        cetus.state.opposite(),
        cetus.eta()
    );

    Ok(())
}

Contributing

See CONTRIBUTING

Commitlint

Commit messages are linting in the PR

Commit count: 79

cargo fmt