Skip to content

Golang CLI Tracker Client for DHL Shipment Packages

License

Notifications You must be signed in to change notification settings

rubnsbarbosa/dhl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHL Tracker CLI

 ______________  _______
 ___  __ \__  / / /__  /
 __  / / /_  /_/ /__  /
 _  /_/ /_  __  / _  /___
 /_____/ /_/ /_/  /_____/
 
 ~ DHL Tracker CLI 1.0 ~

Prerequisites

You must have an eligible Tracking Code for the shipment and an API Key subscription which is specified in the request header.

Setup

DHL Tracker CLI requires an API key. To run it:

  1. Obtain your API key from Developer DHL
  2. Set Environment Variable
export API_KEY="YOUR_DHL_API_KEY"

Replace "YOUR_DHL_API_KEY" with your API key value

How to run

go build main.go tracking.go
./main -tracking RR000000001DE

or with Docker

docker pull rubnsbarbosa/dhl
docker run -e API_KEY=YOUR_DHL_API_KEY dhl -tracking RR000000001DE

Reference

License

This repository is licensed under the MIT License

About

Golang CLI Tracker Client for DHL Shipment Packages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published