Skip to content

Documentation

Костенков Даниил Дмитриевич edited this page Oct 12, 2023 · 2 revisions

Documentation

Tram

Functions

  • get_trams() - return a list of trams

Station

Functions

  • get_stations(tram_id: int) - return a list of stations
  • get_destinations(tram_id: int, station_id: int) - return a list of final stations

Route

Functions

  • get_routes(tram_id: int, station_id: int, destination_id: int, time: int=30) - return list of routes

Clone this wiki locally