API client for motis v2
This API-client was automatically generated to support the motis v2 api. It was generated (mostly, some manual editing was done) using
See https://github.com/oxidecomputer/progenitor for docs on the generator used
To use it, you can use the
Client as following
# tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap().block_on(async {
let res = motis_openapi_progenitor::Client::new("https://api.transitous.org").plan()
.from_place("de-DELFI_000010073203") // landshut süd trains station
.to_place("48.1371079,11.5753822,0") // munich coordinate at level 0
.detailed_transfers(false)
.send().await.unwrap();
println!("{res:?}");
# });