bvg-rest is a public transport REST API, a clean alternative to the BVG HAFAS API.
A Docker image is available as derhuerst/bvg-rest.
docker run -d -p 3000:3000 derhuerst/bvg-restgit clone https://github.com/derhuerst/bvg-rest.git
cd bvg-rest
git checkout 1
npm install --production
npm startTo keep the API running permanently, use tools like forever, pm2 or systemd.
vbb-modules– List of JavaScript modules for Berlin & Brandenburg public transport.bvg-hafas– JavaScript client for the BVG HAFAS API.db-rest– A clean REST API wrapping around the Deutsche Bahn API.
If you have a question or need support using bvg-rest, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.