https://github.com/wfcd/warframe.rs
An async crate to interact with the warframestat.us and the warframe.market API.
https://github.com/wfcd/warframe.rs
api-wrapper rust rust-crate warframe
Last synced: 3 months ago
JSON representation
An async crate to interact with the warframestat.us and the warframe.market API.
- Host: GitHub
- URL: https://github.com/wfcd/warframe.rs
- Owner: WFCD
- License: mit
- Created: 2023-11-12T16:00:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2026-01-06T19:19:20.000Z (5 months ago)
- Last Synced: 2026-01-14T01:08:57.358Z (5 months ago)
- Topics: api-wrapper, rust, rust-crate, warframe
- Language: Rust
- Homepage:
- Size: 717 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# warframe.rs
An async crate to wrap the [Worldstate API](https://docs.warframestat.us) and the [warframe.market API](https://42bytes.notion.site/WFM-Api-v2-Documentation-5d987e4aa2f74b55a80db1a09932459d).
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.91`.
### Example
```rust,no_run
use warframe::worldstate::{Client, Error, queryable::Cetus, Opposite, TimedEvent};
#[tokio::main]
async fn main() -> Result<(), Error> {
let client = Client::default();
let cetus = client.fetch::().await?;
println!(
"It is currently {} on cetus. It will be {} in {}",
cetus.state,
cetus.state.opposite(),
cetus.eta()
);
Ok(())
}
```
## Contributing
See [CONTRIBUTING](CONTRIBUTING.md)
### Commitlint
Commit messages are linting in the PR