pcwu / berlin-transport-app

berlin-transport-app
1 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.

You can also use vbb-client@3 to query this API in both Node and the browser.

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.

pcwu commented 6 years ago

Hello Jannis,

Thank you very much for providing such useful API service. Today I just notice that some request is not working. I will update my code this weekend. Thank you very much for kindly remind :)

Best regards, Po-Chun

derhuerst commented 6 years ago

No problem! I didn't create this issue to put pressure on you, only to let you and others exploring your code know.

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 3 years ago

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

derhuerst commented 7 months ago

I have deprecated v5.vbb.transport.rest a while ago and will shut it off soon. Please migrate to v6.vbb.transport.rest.

yuanqingwu commented 7 months ago

邮件已收到~会尽快查看并回复~~~

yuanqingwu commented 6 months ago

邮件已收到~会尽快查看并回复~~~

yuanqingwu commented 5 months ago

邮件已收到~会尽快查看并回复~~~

scottdotau commented 5 months ago

Can't wait to join, @Brigita41, you silly ChatGPT bot you.

derhuerst commented 5 months ago

@pcwu Can you lock this issue?