Initial commit

This commit is contained in:
2022-11-15 16:26:59 +01:00
commit cdb8df60cb
5 changed files with 1186 additions and 0 deletions

13
src/main.rs Normal file
View File

@@ -0,0 +1,13 @@
mod mensa;
//use crate::mensa::*;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let resp = reqwest::get("https://www.my-stuwe.de//wp-json/mealplans/v1/canteens/611?lang=de")
.await?
.json::<mensa::MensaShedhalle>()
.await?;
println!("{:#?}", resp);
Ok(())
}