motis-openapi-sdk

Crates.iomotis-openapi-sdk
lib.rsmotis-openapi-sdk
version
sourcesrc
created_at2025-01-30 15:43:47.358054
updated_at2025-01-30 15:43:47.358054
descriptionThis is the MOTIS routing API.
homepage
repository
max_upload_size
id1536507
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(Schmiddiii)

documentation

README

Rust API client for motis-openapi-sdk

This is the MOTIS routing API.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: v1
  • Package version: v1
  • Generator version: 7.10.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named motis-openapi-sdk and add the following to Cargo.toml under [dependencies]:

motis-openapi-sdk = { path = "./motis-openapi-sdk" }

Documentation for API Endpoints

All URIs are relative to https://europe.motis-project.de

Class Method HTTP request Description

DebugApi | footpaths | GET /api/debug/footpaths | Prints all footpaths of a timetable location (track, bus stop, etc.) GeocodeApi | geocode | GET /api/v1/geocode | Autocompletion & geocoding that resolves user input addresses including coordinates GeocodeApi | one_to_many | GET /api/v1/one-to-many | Street routing from one to many places or many to one. The order in the response array corresponds to the order of coordinates of the \many\\ parameter in the query. GeocodeApi | reverse_geocode | GET /api/v1/reverse-geocode | Translate coordinates to the closest address(es)/places/stops. MapApi | initial | GET /api/v1/map/initial | initial location to view the map at after loading based on where public transport should be visible MapApi | levels | GET /api/v1/map/levels | Get all available levels for a map section MapApi | stops | GET /api/v1/map/stops | Get all stops for a map section MapApi | trips | GET /api/v1/map/trips | Given a area frame (box defined by top right and bottom left corner) and a time frame, it returns all trips and their respective shapes that operate in this area + time frame. Trips are filtered by zoom level. On low zoom levels, only long distance trains will be shown while on high zoom levels, also metros, buses and trams will be returned. RoutingApi | plan | GET /api/v1/plan | Computes optimal connections from one place to another. TimetableApi | stoptimes | GET /api/v1/stoptimes | Get the next N departures or arrivals of a stop sorted by time TimetableApi | trip | GET /api/v1/trip | Get a trip as itinerary

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

felix@triptix.tech

Commit count: 0

cargo fmt