derhuerst / vbb-rest

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

api has changed and broken my app #27

Closed made-by-chris closed 6 years ago

made-by-chris commented 6 years ago

ive built https://www.trainspotting.berlin over the last weeks, and it died last night. (through vbb-client) Instead of returning usual results, I'm getting this ->

curl https://2.vbb.transport.rest/stations/900000055101/departures\?results\=10
<h1><code>vbb-rest</code> APIs</h1>
<p>An HTTP API for Berlin &#x26; Brandenburg public transport.</p>
<p><a href="https://github.com/derhuerst/vbb-rest/blob/2/docs/index.md" rel="nofollow">documentation</a></p>
derhuerst commented 6 years ago

thanks for the report. seems like i was a little tired yesterday evening.

derhuerst commented 6 years ago

Fixed in derhuerst/hafas-rest-api@b55f7ce6342edd943de3321f49f77a31ed83fc3c and deployed.

made-by-chris commented 6 years ago

Thanks a bunch! Great project(s).

deg0nz commented 6 years ago

👍 for the quick fix!

derhuerst commented 6 years ago

I won't run the public endpoint at 2.vbb.transport.rest 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.