Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
ups-landedcost-client
Advanced tools
The Landed Cost Quote API allows you to estimate the all-inclusive cost of international shipments
Welcome to the UpsLandedcostClient SDK documentation. This guide will help you get started with integrating and using the UpsLandedcostClient SDK in your project.
1.0.0
The Landed Cost Quote API allows you to estimate the all-inclusive cost of international shipments - including applicable duties, VAT, taxes, brokerage fees, and other fees. Required parameters include the currency and shipment details, such as the commodity ID, price, quantity, and country code of origin. Key Business Values: - Enhanced Customer Experience: Get a quick and accurate quote on the landed cost of a shipment, including the cost of goods, transportation, and any other fees associated with getting the goods to their destination. - Operational Efficiency: Simplify the process of calculating landed costs by eliminating the need to manually research and calculate all of the different fees involved. - Data-Driven Decision Making: Improve decision-making by having a clear understanding of the total cost of shipping goods before you commit to a purchase.. - Optimizing Cash Flow: Streamline your shipping process by integrating the Landed Cost Quote API into your existing systems. In order to obtain your bearer token please follow the instructions at https://developer.ups.com/get-started, or use the UPS Authorization API.
This SDK is compatible with the following versions: Python >= 3.7
To get started with the SDK, we recommend installing using pip
:
pip install ups-landedcost-client
The UpsLandedcostClient API uses Basic Authentication.
You need to provide your username and password when initializing the SDK.
When you initialize the SDK, you can set the username and password as follows:
UpsLandedcostClient(
username="YOUR_USERNAME",
password="YOUR_PASSWORD"
)
If you need to set or update the username and password after initializing the SDK, you can use:
sdk.set_basic_auth("YOUR_USERNAME", "YOUR_PASSWORD")
The SDK provides various services to interact with the API.
Name |
---|
LandedcostService |
The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.
Name | Description |
---|---|
LandedCostRequest | The root element for the Landed Cost document. |
LandedCostResponse | |
LandedCostRequestShipment | Every Landed Cost request must be based on a shipment. |
RequestShipmentItems | |
Shipment | Every Landed Cost response must be based on a shipment. |
BrokerageFeeItems | |
ResponseShipmentItems | |
PerfStats | See ALPerfStats |
Errors | Error code and description |
This SDK is licensed under the MIT License.
See the LICENSE file for more details.
FAQs
The Landed Cost Quote API allows you to estimate the all-inclusive cost of international shipments
We found that ups-landedcost-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.