Create initial api wrapper (#2)

* Api v0.1?

* Split crates

* Update api
This commit is contained in:
Guilherme Werner
2023-12-31 15:26:24 -03:00
committed by GitHub
parent 21daa668f8
commit f63f64103c
18 changed files with 607 additions and 237 deletions

10
examples/api.rs Normal file
View File

@ -0,0 +1,10 @@
// Copyright (c) Tribufu. All Rights Reserved
use tribufu::*;
#[tokio::main]
async fn main() {
let api = TribufuApi::default();
let games = api.get_games(Some(1)).await.unwrap();
println!("{:?}", games);
}