/node-openpaths

A Node.js client for the OpenPaths API.

Primary LanguageJavaScriptMIT LicenseMIT

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);
    
});