0.0
No commit activity in last 3 years
No release in over 3 years
Gem to access international DHL Express Services.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

DHL Express 📦

Gem Version Build Status Code Climate

A gem to track international DHL Express packages without the DHL SOAP/XML API.

Requirements

  • Ruby 1.9

Installation

Add this to your gemfile

gem 'dhl_express'

and

bundle

Tracking 📍

Track a package with it's waybill tracking number.

package = DhlExpress::Tracking.new("123456789")

Access tracking information.

package = DhlExpress::Tracking.new("123456789")

package.origin # e.g. "TOKYO - TOKYO - JAPAN"
package.destination # e.g. "GREENSBORO, NC - GREENSBORO - USA" 
package.status # e.g. String of current history status point

package.history # Array of package movement history in chronological order

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request