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

Uploaded Source

Built Distribution

dpdtrack-0.10.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file dpdtrack-0.10.0.tar.gz.

File metadata

  • Download URL: dpdtrack-0.10.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for dpdtrack-0.10.0.tar.gz
Algorithm Hash digest
SHA256 deca0e61b5e0f3fe276c59bd9121a73774c29a2788f7e5c38bff82a2feee8c86
MD5 db7b952d52378e940d0f5a8eff619121
BLAKE2b-256 0b3da5aa86c6c7f50bb500c6039a91ab8fcca2e0c4c54913e78c9d2b7832b9da

See more details on using hashes here.

File details

Details for the file dpdtrack-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: dpdtrack-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for dpdtrack-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58fb4d48976909849d7fd914bc72ccf6b36b62764290b8093749a6845c260336
MD5 93da0c83e7a03229a22b425d3dafd56c
BLAKE2b-256 9c22844cbc0d138e3cd682b55bf6998e5924a70e98e217d4ca121707a7d511c1

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