2.1.0 • Published 5 years ago
rodonaves-js v2.1.0
Rodonaves Client API
A JavaScript library to interface with Rodonaves API, it works with Node.js. The documentation can be found here.
🌟 Features
This library its in early stages, so it doesn't have interfaces for all MelhorEnvio features (Your PR is very welcome).
With this library you can:
- Get City By Zip Code
 - Get Delivery Time
 - Simulate Quote
 
📖 How to use
npm install --save rodonaves-jsimport Rodonaves from 'rodonaves-js';
const rodonaves = new Rodonaves(
  'user',
  'password',
);
const response = await rodonaves.getCityByZipCode('12608220');📚 API Docs
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.
😍 Do you like?
Please, consider supporting my work as a lot of effort takes place to create this repo! Thanks a lot.