-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
"Stations connected to" endpoint? #28
Comments
Definitely! This would be a very useful feature. Pull request welcome! The only caveat I see is that
I also think that |
Great! I'll post again here when I've got started.
Agreed. I can take a look at this at the same time. |
Hey there,
Thanks so much for all the incredibly useful VBB libraries, and especially for running this REST API!
I wondered if you'd be interested in this API having an endpoint exposing the data in vbb-stations-connected-to – maybe at
GET /stations/:id/connected-stations
or similar.I'm using the connected stations data in a single-page app and at the moment my only options are to 1. include the huge blob of data as JavaScript (very large, makes my app > 1 MB) or 2. run my own API exposing only this data, and have my app make requests to two different APIs.
I'd be up for doing the implementation if you don't have time. I just wanted to check here before doing any work on it. Maybe there are design/performance reasons why you don't want to do this, I'm not sure.
The text was updated successfully, but these errors were encountered: