UNPKG

routexl-client

Version:

this is a request client for routexl.com api

35 lines (24 loc) 809 B
### this is a primary package to use https://routexl.com apis you should register on their site to use this package ##usage: ```bash npm install routexl-client ``` ```javascript 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