You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 years ago | |
---|---|---|
.. | ||
.gitignore | 7 years ago | |
.travis.yml | 7 years ago | |
README.md | 7 years ago | |
canteen.go | 7 years ago | |
coordinate.go | 7 years ago | |
meal.go | 7 years ago | |
openmensa.go | 7 years ago | |
util.go | 7 years ago |
README.md
🍴openmensa
This is a small golang wrapper for the OpenMensa API. Very WIP.
Use it something like this:
import (
"fmt"
"github.com/kiliankoe/openmensa"
)
func main() {
canteens, _ := openmensa.GetCanteens(79, 80)
meals, _ := canteens[0].TodaysMeals()
for _, meal := range meals {
fmt.Println(meal)
}
}
// Hähnchenkeule mit Geflügelsoße, dazu buntes Gemüse und Petersilienkartoffeln
// Sojageschnetzeltes mit Waldpilzen, dazu Apfelrotkohl und Klöße
// Gefülltes Pizzabrötchen
// ...