bsac_api 0.1.0

Api lib to retrive colege timetable from api
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![allow(unused_imports)]
use bsac_api::model::*;
use bsac_api::BsacApiClient;
#[tokio::main]
async fn main() {
    let client = BsacApiClient::from_env();
    let group_id = 1;
    let response = client
        .get_group_schedule_for_date(group_id)
        .dates(vec![chrono::Utc::now().date_naive()])
        .await
        .unwrap();
    println!("{:#?}", response);
}