DHL Parcel Tracker - A Quick Way To Check the Status of Your Parcel

A CLI alternative to the heavy DHL tracking website written in Go

DHL Parcel Tracker

This is a small script that fetches the current status of a given DHL parcel, using the Shipment Tracking - Unified API

Because the DHL tracking site is very heavy and slow, i made this script to more easily monitor the status of a parcel. DHL provides a simple API to get the status and all past events of a parcel.

Code

The script is written in Go. See the GitHub repo for more information dhl-parcel-tracker-go (GitHub)

Usability

It requires a .env file to get the API key, the tracking number and optionally a language code to get translated strings. It can be called in your terminal or by anything else that can call a script and display it output.

Last modified 2022.12.22