Skip to content

Compare cost, environmental and health impact of commuting by car, public transport of bike.

License

Notifications You must be signed in to change notification settings

derhuerst/berlin-commute-footprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

berlin-commute-footprint

Compare cost, environmental and health impact of commuting by car, public transport of bike. Library behind umsteigen.jetzt, originally written by @juliuste.

Note: This library is a work in progress project! Although we tried to finde proper sources for the calculations, it is not scientifically verified.

npm version build status ISC-licensed chat on gitter

Installing

npm install berlin-commute-footprint

Usage

const vbb = require('vbb-client')
const footprint = require('berlin-commute-footprint')

vbb.journeys('900000003201', '900000024101', {results: 1})
.then(([journey]) => footprint(journey))
.then(console.log, console.error)
// todo

Contributing

If you have a question or have difficulties using berlin-commute-footprint, 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.