No description
Find a file
2023-08-29 08:47:16 +02:00
src/dhltrack Fork FedExTrack for DHLTrack 2023-08-29 08:47:16 +02:00
.gitignore Update .gitignore: Add "dist/" to ignore list 2023-08-25 08:04:57 +02:00
.gitlab-ci.yml Fork FedExTrack for DHLTrack 2023-08-29 08:47:16 +02:00
config.dist.ini Fork FedExTrack for DHLTrack 2023-08-29 08:47:16 +02:00
LICENSE Fork FedExTrack for DHLTrack 2023-08-29 08:47:16 +02:00
pyproject.toml Fork FedExTrack for DHLTrack 2023-08-29 08:47:16 +02:00
README.md Fork FedExTrack for DHLTrack 2023-08-29 08:47:16 +02:00
test.py Fork FedExTrack for DHLTrack 2023-08-29 08:47:16 +02:00

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.