hfurubotten / enturclient

Python client for fetching estimated departures from stop places in Norway from Entur.org's API.
MIT License
12 stars 2 forks source link

Only show departures going in a certain direction #94

Open Chr1stian opened 1 year ago

Chr1stian commented 1 year ago

I only want to filter/show departures going towards Oslo for my stop (Drammen). Currently using the available filters I get wanted lines from my stop, but each line goes i both directions, making some departures listed exessive

VolkerStolz commented 1 year ago

That should in principle already by possible by using the "quay" id instead of StopPlace. My Stop has 4 platforms (on an intersection). Pick the platform that goes in the right direction...only problem is I can't figure it out on the Entur-map at the moment, I see the platforms on the Entur-map, but it doesn't show the IDs for some reason so a bit of guessing is involved.

Chr1stian commented 1 year ago

I dont think it would help me, as the same Quay has lines in both directions.. Have you checked on https://stoppested.entur.org/ ?