Transport
Transport copied to clipboard
Remove ressource "stationboard"
What is a stationboard ressource? It's all connections from one station. We can even think we have arrival station board than is all connection arriving to a station.
http://transport.opendata.ch/v1/connections?from=Zurich HB
Is the same than
http://transport.opendata.ch/v1/stationboard?station=Zurich HB
And the departure station board can be found like
http://transport.opendata.ch/v1/connections?to=Zurich HB
I think we should remove the stationboard from the API. For the station resource make "from" and "to" parameters optional.
Agree on that?
In general I agree. One thing to take into account is that /connections and /stationboard have different parameters, and I'm not sure we can easily merge them. One example is the time, which doesn't work for the /stationboard call, another is the limit, which is much higher for stationboard calls than for connections.