fwcd / swift-mensa

Library for querying meal plans from German university canteens

Home Page:https://fwcd.github.io/swift-mensa/documentation/mensa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift Mensa

Build Docs

Library for querying meal plans from German university canteens. Uses the OpenMensa API.

Example

import Mensa

let client = MensaClient()
let canteens: [Canteen] = try await client.canteens()
let todaysMeals: [Meal] = try await client.meals(for: canteens[0].id)

See the Snippets folder for more examples.

About

Library for querying meal plans from German university canteens

https://fwcd.github.io/swift-mensa/documentation/mensa

License:MIT License


Languages

Language:Swift 100.0%