rustoa 0.1.8

Rust bindings to The Orange Alliance API
Documentation

RusTOA

crates.io Documentation MIT licensed Build Status

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

[dependecies]
rustoa = "0.1.8"

to your Cargo.toml file.

To use the development version, add

[dependencies]
rustoa = { git = "https://github.com/karx1/rustoa" }

to your Cargo.toml file. This version might be unstable.

Here's a simple example:

use rustoa::{Client, Season};

let client = Client::new("api_key");
let team = client.team(16405);
println!("{}", team.season_wins(Season::SkyStone));