6. Route Details
Observations
etainformation is available from this API.
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.
extract_route_details
extract_route_details (route_details)
extract_map_data
extract_map_data (route_details)
task_fetch_route_details
task_fetch_route_details (data_directory:pathlib.Path)
get_route_details
get_route_details (data_directory:pathlib.Path)
get_map_data
get_map_data (data_directory:pathlib.Path)
get_vehicle_count
get_vehicle_count (route_details)
Return total number of vehicles in route for both directions.
task_fetch_route_details_v2
task_fetch_route_details_v2 (data_directory:pathlib.Path)
v2 of fetch route details, routes with the most vehicles.