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

Refactor get_data_from_many_fields_async function and add new API endpoint for trip departure times #503

Closed albertkun closed 6 months ago

albertkun commented 6 months ago

This pull request refactors the get_data_from_many_fields_async function in order to add a new API endpoint for retrieving trip departure times. The function now accepts an additional parameter geometry and includes it in the Redis key. The API endpoint get_trip_departure_times has been added to retrieve trip departure times based on route code, direction id, and day type.