6. Route Details

Observations

  • eta information is available from this API.

source

fetch_route_details

 fetch_route_details (route_id:int, sleep_duration:float=0.5)

Fetch route details for a given route ID from the BMTC API.


source

extract_route_details

 extract_route_details (route_details)

source

extract_map_data

 extract_map_data (route_details)

source

task_fetch_route_details

 task_fetch_route_details (data_directory:pathlib.Path)

source

get_route_details

 get_route_details (data_directory:pathlib.Path)

source

get_map_data

 get_map_data (data_directory:pathlib.Path)

source

get_vehicle_count

 get_vehicle_count (route_details)

Return total number of vehicles in route for both directions.


source

task_fetch_route_details_v2

 task_fetch_route_details_v2 (data_directory:pathlib.Path)

v2 of fetch route details, routes with the most vehicles.