-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
DB ticket information not available after timetable change (Fahrplanwechsel) #331
Comments
This is the |
TL;DR: It is not yet known what the exact reason for this is, but the legacy DB HAFAS API simply doesn't seem to return the prices anymore. Furthermore, it has been increasingly unstable in the past couple of weeks (lots of |
It seems to be that If that is the case, then we could automatically query it in
That's great! While it seems very worthwhile to investigate possible alternatives to DB's HAFAS |
cc @PaulSut |
I cannot fully follow this. How is refreshJourneys() different than journey()? I tried to find this in the code base, but in the end, this also "just" calls the endpoint with And the refresh token, that is just the ID of the trip? UPDATE: My bad, I was confused. The Why do you think it still returns pices & tickets? Can you explain? :-) |
Can't reproduce that: And yes, hafas-client should stay a client for HAFAS, but my goal was for any downstream applications to be able to seamlessly replace hafas-client with db-vendo-client. And I figured it couldn't harm to keep the git history. |
Oops, I did. |
FYI: I have just published |
While the hafas-client with DB profile is still able to find journeys after 2024-12-15, it always returns empty fare information after this date.
Running this example (function call with tickets=true) with a journey that departs before 2024-12-15 still also returns ticket information,
https://github.com/public-transport/hafas-client/blob/e9211e8105049b39c00c62fb33c55990ec3e45e7/p/db/example.js
after this date, there's no ticketing information.
Any clue why this might be the case? Is a new auth / salt / version needed?
The text was updated successfully, but these errors were encountered: