derhuerst / vbb-rest

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

nextStation for station departures does not work #25

Closed mlsgrnt closed 6 years ago

mlsgrnt commented 6 years ago

This seems to be an issue on the VBB's end as the hafas api you provide also fails. To verify: the following request outlined in the documentation fails (returns empty array).

I've tried everything I can think of, but to no avail. Any ideas on how to fix this? Thanks!

# at U Kottbusser Tor, in direction U Görlitzer Bahnhof
curl 'https://2.vbb.transport.rest/stations/900000013102/departures?nextStation=900000014101&results=3'
derhuerst commented 6 years ago

I can reproduce this an have an idea why this might be the case.

derhuerst commented 6 years ago

Caused by two issues in combination:

@blydro This should work now, please confirm.

mlsgrnt commented 6 years ago

Interesting to know! Thanks so much for the quick fix! Works perfectly.