Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vbb.transport.rest is deprecated, use vbb-client #13

Open
derhuerst opened this issue Jan 22, 2018 · 6 comments
Open

vbb.transport.rest is deprecated, use vbb-client #13

derhuerst opened this issue Jan 22, 2018 · 6 comments

Comments

@derhuerst
Copy link

vbb-client is a ready-built client for vbb.transport.rest. It would be good to use it, because eventually, I will shut down the API in favour of the new version.

@derhuerst derhuerst changed the title use vbb-client vbb.transport.rest is deprecated, use vbb-client Feb 24, 2018
@derhuerst
Copy link
Author

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
Copy link
Author

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.

@jfilter
Copy link
Contributor

jfilter commented Mar 10, 2018

using vbb-client now, thanks!

@jfilter jfilter closed this as completed Mar 10, 2018
@derhuerst
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

@jfilter jfilter reopened this Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants