Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ressource "stationboard" #35

Open
gagarine opened this issue Apr 2, 2012 · 1 comment
Open

Remove ressource "stationboard" #35

gagarine opened this issue Apr 2, 2012 · 1 comment

Comments

@gagarine
Copy link

gagarine commented Apr 2, 2012

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?

@colinfrei
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants