Socket
Book a DemoInstallSign in
Socket

@carimflex/rodonaves-js

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@carimflex/rodonaves-js

🚚 Rodonaves Javascript API

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
Β 
Created
Source

Rodonaves Client API - By CarimFlex

npm (scoped) Build Status codecov semantic-release

A JavaScript library to interface with Rodonaves API, it works in the browser and with Node.js. The documentation can be found here.

Do you like?

Please, consider supporting my work as a lot of effort takes place to create this component! Thanks a lot.

Buy Me A Coffee

How to use

Browser using CDN (Rodonaves + Axios + QS)

<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

$ npm install --save @carimflex/rodonaves-js

Example

import Rodonaves from '@carimflex/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.

To do

  • Function getCityByZipCode(zipCode)
  • Function getDeliveryTime(originZipCode, destinationZipCode)
  • Function simulateQuote(originZipCode, destinationZipCode, packs, invoiceValue, destinationTaxId)
  • Function getCityByName(name)
  • Function tracking(name)
  • Function quote()
  • Function updateQuote()

Keywords

rodonaves

FAQs

Package last updated on 22 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts