Swiftpack.co - fwcd/swift-mensa as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by fwcd.
fwcd/swift-mensa v0.1.8
Library for querying meal plans from German university canteens
⭐️ 1
🕓 4 weeks ago
iOS macOS
.package(url: "https://github.com/fwcd/swift-mensa.git", from: "v0.1.8")

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.

GitHub

link
Stars: 1
Last commit: 4 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics