Skip to main content

Simple Python wrapper to fetch data from DPD Austria (mydpd.at) and Romania (dpd.ro)

Project description

myDPD Python Client

This is a Python client for the myDPD Austria (https://mydpd.at) tracker. It allows you to track your shipments.

It currently only supports DPD Austria. If you want to add support for other countries, feel free to open a pull request. Tracking for DPD shipments in other countries may work, but it is not guaranteed.

Installation

pip install dpdtrack

Usage

from dpdtrack import DPD

api = DPD()

# Realtime tracking

tracking = api.tracking("YOUR_SHIPMENT_NUMBER")

# Optionally pass the recipient's postal code to get more accurate results

tracking = api.tracking("YOUR_SHIPMENT_NUMBER", "RECIPIENT_POSTAL_CODE")

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

dpdtrack-0.10.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

dpdtrack-0.10.0-py3-none-any.whl (5.6 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