Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 378 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 378 Bytes

q

NTUST Query Course Library

Example

All examples

Simple

use q::Q;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let c = Q::new();

    let details = c
        .query("1131", "TCG046301", q::Language::Zh)
        .await
        .expect("failed to query course description");

    println!("{:#?}", details);

    Ok(())
}