Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

accept any HAFAS client #1

Open
derhuerst opened this issue Dec 13, 2017 · 1 comment
Open

accept any HAFAS client #1

derhuerst opened this issue Dec 13, 2017 · 1 comment

Comments

@derhuerst
Copy link
Owner

derhuerst commented Dec 13, 2017

Adapt this lib to accept any hafas-client-compatible HAFAS client:

  • Check if (await hafas.departures(idA))[0].stop.station.id is equal to (await hafas.departures(idB))[0].stop.station.id.
  • Make use of the includeRelatedStations option.
@derhuerst
Copy link
Owner Author

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

No branches or pull requests

1 participant