rustoa

Crates.iorustoa
lib.rsrustoa
version0.1.8
sourcesrc
created_at2020-07-18 19:26:33.776704
updated_at2020-08-03 21:36:30.55633
descriptionRust bindings to The Orange Alliance API
homepage
repositoryhttps://github.com/karx1/rustoa
max_upload_size
id266655
size35,751
Yash Karandikar (karx1)

documentation

README

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));
Commit count: 102

cargo fmt