bhanu3010 / regrun

Other
0 stars 0 forks source link

vbb.transport.rest is deprecated #1

Open derhuerst opened 6 years ago

derhuerst commented 6 years ago

Hey! This is the author of vbb-rest, deployed at vbb.transport.rest. Nice to see that you (seem to) use my service!

I'm here to let you know that The API & format deployed at vbb.transport.rest is deprecated. Please use the new API, deployed at 2.vbb.transport.rest. You can find docs for the new format in the vbb-rest repo.

derhuerst commented 6 years ago

Because I haven't built a proper deprecation mechanism, at vbb.transport.rest, I've started to randomly let requests fail with a deprecation note.

derhuerst commented 6 years ago

I've shut it off now.

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 derhuerst/vbb-rest#29 for more details.

From the updated vbb-rest readme:

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

derhuerst commented 6 years ago

I have set up a new API: 1.bvg.transport.rest provides data from the BVG endpoint. It returns almost exactly the same data as 2.vbb.transport.rest, but in the output format of hafas-client@3.0.0-alpha.20, so you will have to make minor adjustments. Check the docs at derhuerst/bvg-rest!

derhuerst commented 4 years ago

I have set up v5.vbb.transport.rest, the successor of 3.vbb.transport.rest. As usual, unfortunately the response format has changed slightly (to the format of hafas-client@5, make sure to check its migration guide).

I will keep 3.vbb.transport.rest running for a while, and announce its shutdown via RSS before.

derhuerst commented 4 years ago

I have deprecated 3.vbb.transport.rest and will shut it off in a month. Please migrate to v5.vbb.transport.rest.