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

Passing via results in no trains found? #39

Open
The-Compiler opened this issue Oct 19, 2024 · 1 comment
Open

Passing via results in no trains found? #39

The-Compiler opened this issue Oct 19, 2024 · 1 comment

Comments

@The-Compiler
Copy link
Collaborator

Trying the example from https://github.com/dbrgn/fahrplan/blob/6dd5a9146bb95dd14556a16ef594db24a9acbaa1/screenshot.png locally:

$ fahrplan von rapperswil nach zürich via zh stadelhofen ab 17:30    
No connections found

$ fahrplan von rapperswil nach zürich via "zh stadelhofen" ab 17:30
No connections found

$ fahrplan von rapperswil nach zürich via "zh stadelhofen"         
No connections found

$ fahrplan von rapperswil nach zürich via zh stadelhofen  
No connections found

maybe something broke with the Opendata.ch/local.ch API changes?

@dbrgn
Copy link
Owner

dbrgn commented Oct 19, 2024

I'm not sure why that worked (it wasn't my example), but "zh stadelhofen" ist not an official name of the "Zürich Stadelhofen" train station.

If I use it as destination:

screenshot-20241019-190227

I think that's the reason.

It works fine when using the proper name:

screenshot-20241019-190310

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