rust library to interact with the openmensa api
Basic usage 🔧
This library provides a way to build request to the openmensa api and deserialize into rust structures.
Provided are requests for Canteen
, Meal
and Day
.
Requesting a list of all canteens
use CanteenRequest;
async
Requesting the meals for a single canteen
use ;
async
Shorthands for generic requests
If you want to get all information and specify no further constraints for your requests, you can use the provided shorthands req_canteens
, req_days
and req_meals
.
use req_canteens;
async
Add this crate 📦
All you have to do is add in your Cargo.toml
under dependencies
[]
= "^0"
Troubleshooting
If you have any troubles using this library or you find any problems feel free to open an issue. Explaining your problem and if possible provide a short code snippet.
Authors
Johannes Wünsche
:octocat:
@jwuensche
:elephant:@fredowald@mastodon.social
:bird:@Fredowald
This README template is based on group works with fin-ger.
Show your support
Give a :star: if this project helped you!