comboios
JavaScript client for the Portugese
Installation
npm install comboiosUsage
const comboios = require('comboios')This package contains data in the Friendly Public Transport Format.
stations()- to get a list of operated stations such asLisboa - OrienteorViana do Castelojourneys(origin, destination, opt)- to get routes between stationsstopovers(station, opt)- to get departures and arrivals at a given stationtrip(id)- to get all stopovers for a given trip (train)
See also
- build-cp-gtfs - Generate CP GTFS using this module
- european-transport-operators - List of european long-distance transport operators, available API endpoints, GTFS feeds and client modules.
Contributing
If you found a bug or want to propose a feature, feel free to visit the issues page.