derhuerst / vbb-rest

An HTTP API for Berlin & Brandenburg public transport.
https://v6.vbb.transport.rest/
ISC License
130 stars 12 forks source link

/stations/:id/departures with "nextStation" throws error #31

Closed Jonas12354 closed 6 years ago

Jonas12354 commented 6 years ago

Great work,

however /stations/:id/departures with nextStation is not working anymore.

I get {"error":true,"msg":"Missing dep.journeyId."}

when running the example

curl 'https://2.vbb.transport.rest/stations/900000013102/departures?nextStation=900000014101&results=3'

derhuerst commented 6 years ago

Cannot reproduce locally.

derhuerst commented 6 years ago

Can reproduce and have an idea why.

derhuerst commented 6 years ago

This only happens with the public endpoint at 2.vbb.transport.rest, which I won't run for the time being. Maybe VBB and I will find a compromise when we meet next week. Refer to #29 for more details.

From the updated readme:

If you use JavaScript to process the data, use vbb-hafas directly, otherwise host your vbb-rest instance for now.