Skip to content

NTUST-Hack/q

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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(())
}