Crates.io | toornament |
lib.rs | toornament |
version | 2.1.0 |
source | src |
created_at | 2017-06-01 14:24:20.397446 |
updated_at | 2020-01-03 08:35:01.044855 |
description | Library for Toornament.com the eSports platform |
homepage | |
repository | https://github.com/vityafx/toornament-rs |
max_upload_size | |
id | 17214 |
size | 285,525 |
http://toornament.com api bindings.
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.
There is a book and the documentation which may help you using this library.
reqwest
crate is used for performing requestsStart 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
This project is licensed under the MIT license.