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.
Jonas Franz 233b628639 Initial commit 6 years ago
..
.gitignore Initial commit 6 years ago
.travis.yml Initial commit 6 years ago
README.md Initial commit 6 years ago
canteen.go Initial commit 6 years ago
coordinate.go Initial commit 6 years ago
meal.go Initial commit 6 years ago
openmensa.go Initial commit 6 years ago
util.go Initial commit 6 years ago

README.md

🍴openmensa

godoc travis

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
// ...