Skip to main content

Simple Python wrapper to fetch data from DHL Tracking API

Project description

DHL Tracking API Python Client

This is a Python client for the DHL Shipment Tracking Unified API.

It is not fully featured yet, but it is a good starting point. It requires you to have a DHL developer account and an API key.

Installation

pip install dhltrack

Usage

from dhltrack import DHL

api = DHL("YOUR_API_KEY", "YOUR_API_SECRET")

# Realtime tracking

tracking = api.track("YOUR_SHIPMENT_NUMBER")

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

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

Source Distribution

dhltrack-0.9.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

dhltrack-0.9.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file dhltrack-0.9.0.tar.gz.

File metadata

  • Download URL: dhltrack-0.9.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for dhltrack-0.9.0.tar.gz
Algorithm Hash digest
SHA256 f0e283e6ceaa37bd2c732aa34430203cbad526f52459f4bff626f569e8bad8c4
MD5 609fea429a87b7801d2b9f3fbf817ddd
BLAKE2b-256 01787b4474f90be8486b08b688a6a4a39fb2ed90d3ae3cd3da92989239075be8

See more details on using hashes here.

File details

Details for the file dhltrack-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: dhltrack-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for dhltrack-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cc2b502f67be841b033ac7d74b9b316e96e84168c4455a696a5a4ad091121fb
MD5 aa01ed03cd84452ed0a145d6460c97dd
BLAKE2b-256 484e15d717498d984f1152047d32c649a0ab78ab0cb284fdc47c03833c7bfdf7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page