This package has been deprecated

Author message:

0.0.6

@fsenn/mvg-api

0.0.6 • Public • Published

mvg-api

Node API for MVG departures.

Installation

npm install @fsenn/mvg-api

Usage

const mvgApi = require('@fsenn/mvg-api');

mvgApi.getDepartures('Harras', ['ubahn', 'sbahn', 'bus', 'tram']).then(lines => {
    console.log(lines.toString());
});

Output is a list of departures in human readable form.

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style.
Add unit tests for any new or changed functionality. Lint and test your code.

Keywords

none

Install

DownloadsWeekly Downloads

2

Version

0.0.6

License

MIT

Last publish

Collaborators

  • fsenn