toornament

Crates.iotoornament
lib.rstoornament
version2.1.0
sourcesrc
created_at2017-06-01 14:24:20.397446
updated_at2020-01-03 08:35:01.044855
descriptionLibrary for Toornament.com the eSports platform
homepage
repositoryhttps://github.com/vityafx/toornament-rs
max_upload_size
id17214
size285,525
Shockingly Good (iddm)

documentation

https://docs.rs/toornament/

README

toornament-rs

Build status Crates Docs MIT licensed

http://toornament.com api bindings.

Status

Everything is implemented. Note, that the toornament service API is at early stages of development and in beta stage, the library will try to be up-to-date.

The book and the documentation

There is a book and the documentation which may help you using this library.

Implementation

  • Non-mutable interface, no need to synchronize, thread-safe.
  • No unsafe blocks
  • No unwraps (except the tests)
  • reqwest crate is used for performing requests

Usage

Start by creating Toornament instance and perform needed operations after.

extern crate toornament;
use toornament::*;

fn main() {
    let t = Toornament::with_application("API_TOKEN", "CLIENT_ID", "CLIENT_SECRET")
                       .unwrap();
    assert!(t.disciplines(None).is_ok());
}

More examples are in the
examples/ subdirectory

License

This project is licensed under the MIT license.

Commit count: 85

cargo fmt