Skip to main content

A Python wrapper for the 3PL Central REST API

Usage

set up a .env file in the root of the project:

BASE_URL="https://secure-wms.com"
AUTH_PATH="AuthServer/api/Token"
CLIENT_ID="your-id"
CLIENT_SECRET="your-secret"
FACILITY_ID=99
TPL_KEY="your-tpl-key"
GRANT_TYPE="client_credentials"
USER_LOGIN_ID="name-this-whatever-you-want"
ROUTING_INFO_ACCOUNT_NUMBER="ups-account-number"

Verify that you can access the api by running

python3 -m verify_credentials

Then, run the following get a list of methods you can try out, with a handy run-in-place CLI:

python3 -m examples
Which endpoint do you want to try?
1) cancel_test_order

2) create_test_item

3) create_test_order

4) get_carriers_list

5) get_order

Enter a number:

License

MIT

See LICENSE for more details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-3pl-central-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file python-3pl-central-0.1.1.tar.gz.

File metadata

  • Download URL: python-3pl-central-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for python-3pl-central-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5fe3f5c8ffb2fb3e3689a0247926e94a8fa910b3203d9bdb5a058e2739df46ea
MD5 fa4fa493fff419c3b8f834014fe7f233
BLAKE2b-256 192570a82f9cd3a961f867b3d9da6cce40463ad830085f0f4d659e40019576f0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page