node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

openpaths

openpaths

A Node.js client for the OpenPaths API.

Installation

npm install openpaths

Usage

var OpenPaths = require('openpaths').OpenPaths,
    key = 'YOUR_KEY',
    secret = 'YOUR_SECRET',
    openPaths = new OpenPaths(key, secret);
 
openPaths.getLocations(function(error, data, response){
    
    console.log(data);
    
});