Skip to content

This library parses the meals from the Otto-von-Guericke University canteen website.

License

Notifications You must be signed in to change notification settings

fin-ger/rust-ovgu-canteen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OVGU Canteen Information for Rust

crates.io Latest Tag Build Status Documentation Homepage Built with Spacemacs

This library parses the meals from the Studentenwerk Magdeburg canteen website.

Note: This library uses async/await. In order to work properly, the tokio runtime must be used. I'm sorry but async-std wont work 😢

Usage

Put this in your Cargo.toml:

[dependencies]
ovgu_canteen = "^0"

How to Run the Examples

In order to run an example from the examples folder issue the following command.

$ cargo run --example <name>

To get the canteen information in a json format you can use this example:

$ cargo run --example json | jq -r '.[0].days[0].meals[0].price.student'

jq is a json querying software available via your distributions package manager.

License

This project is licensed under the GPL-v3 license - see the LICENSE file for details.

About

This library parses the meals from the Otto-von-Guericke University canteen website.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages