4 releases
0.2.0 | May 17, 2020 |
---|---|
0.1.2 | May 12, 2020 |
0.1.1 | May 11, 2020 |
0.1.0 | May 11, 2020 |
#7 in #courses
24 downloads per month
Used in waseda-moodle-checker
14KB
298 lines
waseda-moodle
A simple crate to get a list of the enrolled courses.
Usage
use waseda-moodle::*;
#[tokio::main]
async fn main() -> Result<()> {
//login
let session = Session::login("login id", "password").await?;
//get a list of the enrolled courses (except for hidden courses)
let list = course::fetch_enrolled_courses(&session).await?;
//get a list of the hidden courses
let hidden_list = course::fetch_hidden_courses(&session).await?;
println!("list: {:#?}", list);
println!("hidden_list: {:#?}", hidden_list);
Ok(())
}
Dependencies
~9–14MB
~305K SLoC