Go to file
2023-09-22 17:09:11 +02:00
src/dpdtrack Add support for DPD Romania 2023-09-21 14:15:26 +02:00
.gitignore Fork pykeydelivery for glsapi 2023-08-24 20:02:51 +02:00
.gitlab-ci.yml Fix stages in .gitlab-ci.yml 2023-08-24 20:04:29 +02:00
LICENSE Fork GLSAPI for DPDTrack 2023-08-30 11:33:55 +02:00
pyproject.toml Fix description in pyproject.toml 2023-09-22 14:43:50 +02:00
README.md Add mention of DPDRO to README.md 2023-09-22 17:09:11 +02:00
test.py Add support for DPD Romania 2023-09-21 14:15:26 +02:00

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 DPDAT, DPDRO

api = DPDAT() # For tracking of DPD Austria packages
# api = DPDRO() for tracking of DPD Romania packages

# 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.