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

jonyw4/ups-brazil-js

Repository files navigation

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