Generate a GTFS Realtime (GTFS-RT) feed with the status of Berlin & Brandenburg elevators using StationUpdate
, as proposed in google/transit#268 & MobilityData/transit#42.
facilities-gtfs-rt-feed
needs a token to query the accessibility.cloud
API; Log into their platform to obtain one.
echo 'NODE_ENV=production' >>.env
echo 'ACCESSIBILITY_CLOUD_TOKEN=…' >>.env
docker run --env-file=.env -p 3000:3000 ghcr.io/derhuerst/facilities-gtfs-rt-feed
git clone https://github.com/derhuerst/facilities-gtfs-rt-feed.git
cd facilities-gtfs-rt-feed
npm install
npm run build
export 'ACCESSIBILITY_CLOUD_TOKEN=…'
node index.js | pino-pretty