📚 htwdresden

Travis Crates.io

Rust library for accessing organisational data from the University of Applied Sciences Dresden.

Add the following to your dependencies in your Cargo.toml.

toml htwdresden = "0.1"

Examples

Exams

```rust use htwdresden::{Studygroup, Degree, Exam};

let group = Studygroup { year: 2016, course: 121, group: 61, degree: Degree::Bachelor, }; let exams = Exam::for_studygroup(&group);

let exams = Exam::for_prof("prof identifier"); ```

Grades

```rust use htwdresden::{Login, Course, Grade};

let login = Login::new("s#####", "password"); if let Ok(courses) = Course::get(&login) { let grades = Grade::get(&login, &courses[0]); } ```

Lessons

```rust use htwdresden::{Degree, Studygroup, Lesson};

let group = Studygroup { year: 2016, course: 121, group: 61, degree: Degree::Bachelor, }; let lessons = Lesson::for_studygroup(&group);

let lessons = Lesson::for_prof("Sobe");

let lessons = Lesson::for_room("Z 254"); ```

Room Search

WIP

Contributors

Kilian Koeltzsch, @kiliankoe

License

htwdresden is available under the MIT license. See the LICENSE file for more info.