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

use hafas.tripsByName() to find trips #9

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

derhuerst
Copy link
Owner

@derhuerst derhuerst commented Oct 24, 2021

  • full support for tripsByName() options in hafas-client
  • adapt test/index.js
  • check if this strategy is worth it, possibly keep both?

An unsolved problem: The higher levels of the "tree of tripsByName() calls" (e.g. tripsByName('*', {}), the root) return a lot (usually 1000) results, so they're quite expensive for HAFAS servers. But caching on subsequent trips list refreshes is not really possible, because we want to find all trips.

@derhuerst derhuerst mentioned this pull request Dec 17, 2021
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

Successfully merging this pull request may close these issues.

None yet

1 participant