Skip to content

Track international DHL Express packages without the DHL SOAP/XML API.

License

Notifications You must be signed in to change notification settings

SebastianSzturo/dhl_express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Track international DHL Express packages without the DHL SOAP/XML API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages