1.0.6 • Published 6 years ago

node-kvv v1.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

node-kvv npm version

Node.js wrapper for the KVV (Karlsruher Verkehrsverbund) live API. 🚄

Installation

Navigate to your node.js project over the command line and install the npm package using the following command.

npm install node-kvv --save

Usage

var nodeKvv = require('node-kvv');

// Searching stops by name
nodeKvv.searchStopsByName('Karlsruhe Marktplatz');

// Searching stops by latitude and longitude
nodeKvv.searchStopsByLatLong(48.34342, 7.234234); // lat, long

// Search stop by id
nodeKvv.searchStopByStopId('de:123:er');

// Search departures from stop by stop ID
nodeKvv.getDepartures('de:123:er'); // default will return the next 4 departures
nodeKvv.getDepartures('de:123:er', 8); // will return the next 8 departures
1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago