RapidAPI logo

Sign Up

Log In

Shipping Gear

FREE
By bondarewicz
Updated 3 months ago
Commerce
-/10
Popularity Score
-
Latency
-
Success Rate

Shipping Gear API Documentation

Some useful stuff for eCommerce shipping. [work in progress]

View API Details
GETTotalWeight
GETTotalWeight

Calculates the result of package physical weight and volume comparison for given dimensions which represents the total chargeable weight for specific carrier.

Carriers Supported: DHL, TNT, Parcelforce, FedEx, UPS

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
weightNUMBER
REQUIREDpackage weight in CM
heightNUMBER
REQUIREDpackage height in CM
lengthNUMBER
REQUIREDpackage length in CM
widthNUMBER
REQUIREDpackage width in CM
Request Snippet
unirest.get("https://bondarewicz-shipping-gear.p.rapidapi.com/totalweight/11.2/50/40/88.9")
.header("X-RapidAPI-Host", "bondarewicz-shipping-gear.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://bondarewicz-shipping-gear.p.rapidapi.com/totalweight/11.2/50/40/88.9")
.header("X-RapidAPI-Host", "bondarewicz-shipping-gear.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication