UpsLandedcostClient Python SDK 1.0.0
Welcome to the UpsLandedcostClient SDK documentation. This guide will help you get started with integrating and using the UpsLandedcostClient SDK in your project.
Versions
- SDK version:
1.0.0
About the API
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.
Table of Contents
Setup & Configuration
Supported Language Versions
This SDK is compatible with the following versions: Python >= 3.7
Installation
To get started with the SDK, we recommend installing using pip:
pip install ups-landedcost-client
Authentication
Basic Authentication
The UpsLandedcostClient API uses Basic Authentication.
You need to provide your username and password when initializing the SDK.
Setting the Username and Password
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")
Services
The SDK provides various services to interact with the API.
Below is a list of all available services with links to their detailed documentation:
| Name |
|---|
| LandedcostService |
Models
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.
Below is a list of all available models with links to their detailed documentation:
| 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 |
License
This SDK is licensed under the MIT License.
See the LICENSE file for more details.
Metadata
Release files for ups-landedcost-client 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ups_landedcost_client-1.0.1.tar.gz | 23.1 kB | Without provenance | Details for ups_landedcost_client-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ups_landedcost_client-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for ups_landedcost_client-1.0.1-py3-none-any.whl |
Total release size: 59.6 kB
Release files / ups_landedcost_client-1.0.1.tar.gz
| Download URL | ups_landedcost_client-1.0.1.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb1a0cfb4677ccc28c19d3a3ae370d542032e7431c297606f4ab60b5ad70c026
|
|
BLAKE2b-256 checksum How to use checksums |
198dc598bf2515cf0886f921fcc28589fc23080512f08fcad33b66d33ba453d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Release files / ups_landedcost_client-1.0.1-py3-none-any.whl
| Download URL | ups_landedcost_client-1.0.1-py3-none-any.whl |
|---|---|
| Size | 36.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4741fbad7974882934b6e702375bb3a07b4c12b0bad51b30ccdc511948230ffe
|
|
BLAKE2b-256 checksum How to use checksums |
67565fcf08a909bc046855028904b8cc95900faa98d6a6acbb52f20eece4ec85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Security for ups-landedcost-client 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.