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 |
|
#438 in Web programming
326 downloads per month
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