fwcd / swift-mensa

Library for querying meal plans from German university canteens
https://fwcd.github.io/swift-mensa/documentation/mensa
MIT License
1 stars 0 forks source link
canteen mensa openmensa swift

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.