-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
/journeys doesnt take destination name #38
Comments
With each of the mentioned options (stop/station ID, POI, address), you need to provide every listed field.
I think we should clarify the documentation, because it misled you. How would you like it to be phrased? |
https://v6.db.transport.rest/api.html#get-journeys am i using the api wrong or is it broken? when i just pass the name it says it needs an destination |
If you want to pass a POI, you'll have to pass all of the enumerated parameters; This is a limitation of the underlying HAFAS API. We should make this clear in the docs. You can find POIs by using |
Thanks for the quick help. Love your work 👏 |
Others likely also had this question, let's improve the docs. |
Can you submit a PR that improves the phrasing? The example is here: Lines 58 to 65 in d53ff22
|
i want to give the journeys endpoint the destination name: "to.name = Köln hbf" and not the id code from the station with "to=1389212" .
Im using Insomnia to test it.
In the documentation it seems to be possible, but it doesnt work.
Am i doing something wrong or is this feature not working right now?
Thanks for helping
The text was updated successfully, but these errors were encountered: