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

Price information missing in most requests #59

Closed
stijnmeijer opened this issue Dec 25, 2024 · 2 comments
Closed

Price information missing in most requests #59

stijnmeijer opened this issue Dec 25, 2024 · 2 comments
Labels

Comments

@stijnmeijer
Copy link

First of all, what a great API. You did a great job on this one by packing 80% of the useful data whilst not over-complicating it.

During recent weeks I noticed that price information is missing more and more often. Currently it seems that almost all price fields are set to €-0,01 even though prices are available in the app.
Take a look at the example request from the documentation: https://v6.db.transport.rest/journeys?from=8011113&to=8010159&departure=tomorrow+2pm&results=2
At the time of writing, the price->amount field was equal to -0.01 . This applied to many routes.

I suspect this would be an upstream problem, but haven't had the chance to verify.

@traines-source
Copy link

See this related issue here: public-transport/hafas-client#331

TL;DR: Prices won't return in the DB HAFAS and it looks like it might be completely shut down soon. A possible drop-in replacement relying on the new DB APIs is https://github.com/public-transport/db-vendo-client

@derhuerst
Copy link
Owner

Closing this in favour of public-transport/hafas-client#331.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants