Ups0authClientCredentials Python SDK 1.0.0
Welcome to the Ups0authClientCredentials SDK documentation. This guide will help you get started with integrating and using the Ups0authClientCredentials SDK in your project.
Versions
- SDK version:
1.0.0
About the API
The UPS OAuth Client Credentials API helps retrieve an OAuth Bearer token when the integration owner is also the UPS shipper. The integration owner uses their UPS login credentials, and the UPS account number, to receive a token that can be used in the authorization HTTP header of subsequent API calls to UPS APIs like the Ship API, Track API, etc. https://developer.ups.com/api/reference/oauth/client-credentials
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-0auth-client-credentials
Authentication
Basic Authentication
The Ups0authClientCredentials 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:
Ups0authClientCredentials(
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 |
|---|
| SecurityService |
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 |
|---|---|
| CreateTokenRequest | |
| TokenSuccessResponse |
License
This SDK is licensed under the MIT License.
See the LICENSE file for more details.
Metadata
Release files for ups-0auth-client-credentials 1.0.0
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-0auth-client-credentials-1.0.0.tar.gz | 18.0 kB | Without provenance | Details for ups-0auth-client-credentials-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ups_0auth_client_credentials-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for ups_0auth_client_credentials-1.0.0-py3-none-any.whl |
Total release size: 47.3 kB
Release files / ups-0auth-client-credentials-1.0.0.tar.gz
| Download URL | ups-0auth-client-credentials-1.0.0.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57396351cb28a3538a234a59bb7a1604ce811047e39c37c0fceaf3c3bf251d9d
|
|
BLAKE2b-256 checksum How to use checksums |
73a56fbccafc192ad02f3d449c5e0e537f087dbf839a7c6d6778b7fe5e4d66b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Release files / ups_0auth_client_credentials-1.0.0-py3-none-any.whl
| Download URL | ups_0auth_client_credentials-1.0.0-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71cc0d74a031f37a41f422d481bc3f721199eb99c81945b18686fad4c7a12a35
|
|
BLAKE2b-256 checksum How to use checksums |
da722212a28c8e80ed09773cde2c015880074ea4bd2f47baac17a1c9a62c832f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Security for ups-0auth-client-credentials 1.0.0
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.