2.1.0 • Published 4 years ago

ups-brazil-js v2.1.0

Weekly downloads
11
License
Apache-2.0
Repository
github
Last release
4 years ago

UPS Brazil Javascript API Client

npm (scoped) Build Status codecov semantic-release

A JavaScript library to interface UPS Brazil API for calculate quote, it works in the browser and with Node.js. The documentation can be found here.

📖 How to use?

Install the library

npm i ups-brazil-js

Import the library

import upsBrazil from 'ups-brazil-js';

const response = await upsBrazil(user,
  password,
  originZipCode,
  destinationZipCode,
  packageData,
  invoiceValue,
  timeout
);

😍 Do you like?

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

📚 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