13 stable releases (4 major)

6.2.0 Oct 28, 2024
6.0.1 Aug 27, 2024
6.0.0 Jul 19, 2024
5.1.0 Jul 11, 2024
1.0.4 Nov 16, 2023

#438 in Web programming

Download history 8/week @ 2024-07-22 34/week @ 2024-07-29 152/week @ 2024-08-26 20/week @ 2024-09-16 18/week @ 2024-09-23 36/week @ 2024-09-30 165/week @ 2024-10-21 155/week @ 2024-10-28 6/week @ 2024-11-04

326 downloads per month

MIT license

150KB
4K SLoC

warframe.rs

An async crate to wrap the Worldstate 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.

Example

use warframe::worldstate::prelude::*;

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

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

Contributing

See CONTRIBUTING

Commitlint

Commit messages are linting in the PR

Dependencies

~9–21MB
~279K SLoC