derhuerst/vbb-rest

"Stations connected to" endpoint?

Open

#28 opened on Jun 5, 2018

View on GitHub
 (2 comments) (1 reaction) (0 assignees)JavaScript (13 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (142 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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.

Contributor guide