Rust bindings to The Orange Alliance API
A Crate to access The Orange Alliance API. This crate makes it easy to access the official First Tech Challenge API and use it in your Rust projects.
Install by adding
toml
[dependecies]
rustoa = "0.1.5"
to your Cargo.toml
file.
To use the development version, add
toml
[dependencies]
rustoa = { git = "https://github.com/karx1/rustoa" }
to your Cargo.toml file. This version might be unstable.
Here's a simple example:
```rust use rustoa::{Client, Season};
let client = Client::new("apikey"); let team = client.team(16405); println!("{}", team.seasonwins(Season::SkyStone)); ```