derhuerst / hafas-monitor-trips

Using a HAFAS endpoint, watch all trips in a bounding box.
https://github.com/derhuerst/hafas-monitor-trips#hafas-monitor-trips
ISC License
8 stars 0 forks source link

use hafas.tripsByName() to find trips #9

Open derhuerst opened 3 years ago

derhuerst commented 3 years ago

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.