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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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