Transport icon indicating copy to clipboard operation
Transport copied to clipboard

Remove ressource "stationboard"

Open gagarine opened this issue 13 years ago • 1 comments

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?

gagarine avatar Apr 02 '12 20:04 gagarine

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.

colinfrei avatar Apr 09 '12 12:04 colinfrei