routexl-client
v1.0.23
Published
this is a request client for routexl.com api
Downloads
172
Maintainers
Readme
this is a primary package to use https://routexl.com apis
you should register on their site to use this package
##usage:
npm install routexl-client
acountinfo = {
username: 'your user name',
password: 'your password',
}
or array of objects
or string -> "basic yourtoken"
or array of strings
var rxl = require("routexl-client")(acountinfo);
refere to https://www.routexl.com/blog/api for more info
rxl.tour(locations); -> return promise with results
rxl.distances(locations);
whats the diffrence : uses queue for you acount to perform tour api call
keep in mind to use multiple tour call you should use multiple paid account
and you can use set concorent distance call limit