LACMTA / metro-api-v2

Docs: https://lacmta.github.io/metro-api-v2/ Dev: https://dev-metro-api-v2.ofhq3vd1r7une.us-west-2.cs.amazonlightsail.com/docs
https://api.metro.net/docs
0 stars 3 forks source link

Add new columns and endpoints for trip and stop details #508

Closed albertkun closed 5 months ago

albertkun commented 5 months ago

This pull request adds new columns to the StopTimes and TripDepartureTimes models, as well as functions to retrieve trip shapes and stop details. It also includes the addition of a stop_id_cleaned column to the StopTimes model and a refactor of the get_shape_info endpoint. Additionally, it introduces a new get_route_details endpoint to retrieve route details by route_code, direction_id, day_type, and time. Finally, it includes various code refactorings and removal of commented out code.