@fsenn/mvg-api

Node API for MVG departures.

0.0.6
Last updated 3 years ago by fsenn .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @fsenn/mvg-api 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.0.6                                ...           latest (3 years ago)

4 Versions

  • 0.0.6 [deprecated]           ...           3 years ago
  • 0.0.5 [deprecated]           ...           3 years ago
  • 0.0.4 [deprecated]           ...           3 years ago
  • 0.0.3 [deprecated]           ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 5
Dependencies (5)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |