datex

A Node library to retrieve traffic information from the Swedish Transport Administration

npm install datex
1 downloads in the last week
5 downloads in the last month

node-datex

A Node library to retrieve traffic information from the Swedish Transport Administration

Requirement

  • Account with the Swedish Transport Administration for traffic information (Datex).

Usage

First, install the npm datex package.

$ npm install datex

This will download all you need to get started in your ./node_modules/ folder.

Retrieve Traffic Information

In your project, include and create an instance with your username and password.

var Datex = require("elk").Datex;

var trafficService = new Datex({
  username  : "USER",
  password  : "PASS"
});

License

Copyright 2011-2013 (c) Douglas Cau. This work is licensed under the MIT license. Please see LICENSE for details.

npm loves you