Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Latest commit

History

History
41 lines (31 loc) 路 1.63 KB

README.md

File metadata and controls

41 lines (31 loc) 路 1.63 KB

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.

Buy Me A Coffee

馃摎 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