A JavaScript library to interface with Rodonaves API, it works in the browser and with Node.js. The documentation can be found here.
Please, consider supporting my work as a lot of effort takes place to create this component! Thanks a lot.
<script src="//cdn.jsdelivr.net/combine/npm/axios@0.19.2/dist/axios.js,npm/qs@6.9.3/dist/qs.js,npm/@carimflex/rodonaves-js@1.0.0/dist/rodonaves-js-browser.js"></script>
$ npm install --save @carimflex/rodonaves-js
import Rodonaves from '@carimflex/rodonaves-js';
const rodonaves = new Rodonaves(
'user',
'password',
);
const response = await rodonaves.getCityByZipCode('12608220');
This library provides a promise based interface for all functions. Before you can use the library, you need to provide authentication details which will be used through API calls.
For a detailed documentation, see our Documentation.
- Function
getCityByZipCode(zipCode)
- Function
getDeliveryTime(originZipCode, destinationZipCode)
- Function
simulateQuote(originZipCode, destinationZipCode, packs, invoiceValue, destinationTaxId)
- Function
getCityByName(name)
- Function
tracking(name)
- Function
quote()
- Function
updateQuote()