entur-departures
This library contains simple abstractions for some commonly used operations related to interacting with the ENTUR-API. Example usages of this library includes a CLI for checking departure times.
Functions
getDeparturesByQuayId
; ; getDeparturesByQuayId"stopId", optionalNumberOfDepartures.then
searchForQuayByName
; ; searchForQuayByName"quayQuery".then
Further learning
For info on the "stop" interface, look at the source code (TypeScript), or head over to the ENTUR Developer portal.