sc-api 0.1.1

A library to interact with the SC API
Documentation
1
2
3
4
5
6
7
8
9
10
use sc_api::{DEMO_APP_TOKEN, DEMO_URL, ScAppClient};

/**

* Example of using stalcraft api with app token
*/
#[tokio::main]
async fn main() {
    let client = ScAppClient::new_custom(DEMO_URL, DEMO_APP_TOKEN);
    println!("{:?}", client.get_clans_list("RU", None, None).await);
}