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://lacmta.github.io/metro-api-v2/
0 stars 3 forks source link

Refactor get_route_details function to include stop_id in stop_times list #528

Closed albertkun closed 6 months ago

albertkun commented 6 months ago

This pull request refactors the get_route_details function in crud.py to include the stop_id in the stop_times list. This change ensures that the stop_id is included in the returned data, providing more comprehensive information for route details.