Skip to content
kiliankoePublic

About

🍴Golang wrapper for the OpenMensa API

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

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

About

🍴Golang wrapper for the OpenMensa API

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址