Skip to content

🍴Golang wrapper for the OpenMensa API

Notifications You must be signed in to change notification settings

kiliankoe/openmensa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages