[WIP] Client for HAFAS
rest.exe public transport APIs.
hafas-client is a client for
mgate.exe HAFAS APIs (a.k.a. "mobile APIs").
npm install @public-transport/hafas-rest-client
Supported methods (so far):
journeys(origin, destination, [opt])- get journeys between locations
refreshJourney(refreshToken, [opt])- fetch up-to-date/more details of a
trip(tripId, [opt])- fetch up-to-date/more details of a
dataInfo()- get information about the HAFAS instance (e.g. a list of operators and sub-products)
If you have a question, found a bug or want to propose a feature, have a look at the issues page.