0.0.2 • Published 11 years ago

syncromaticsjs v0.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
11 years ago

syncromaticsjs

Wrapper api for getting data from the syncromatics transit servers.

install

npm install syncromaticsjs

example

var syncromatics = require('syncromaticsjs');

// set the hostname
var options = {
  host: 'http://www.ladotbus.com'
}

// print out the current available regions for la dept of transportation
syncromatics.regions(options, function(error, regions) {
  if (!error) {
    console.log(regions);
  }
});

testing

npm test