peter-mount / nre-feeds

go library & Application for handling the NRE DarwinD3 feeds
Apache License 2.0
8 stars 0 forks source link

Add filters to board responses #23

Closed peter-mount closed 5 years ago

peter-mount commented 5 years ago

From UK DepartureBoards:

quick question, would it be much work to add basic filters to the data as url params ie limit to 10 services or do not include terminating service / destination filter (only show services to this destination crs) etc..?

So add url parameters to:

The last one might be tricky as calling points are not generated for cancelled services - might need to use the schedule for that one

peter-mount commented 5 years ago

Working & shortly on UAT:

peter-mount commented 5 years ago

Also about to go to UAT is callsAt= which accepts a CRS code and will filter only those services that will/expected to call at a station.

Note: If a service was due to call at that station but has been cancelled then that service will not be included in this filter.

peter-mount commented 5 years ago

Just a note that this one is finally live - backend for over a week but departureboards.mobi now has it live as of this morning. The only thing left is to filter by station that doesn't use the calling list - I'll create a new issue for that one as that will take tome