Skip to content

Identify the Courier for a given Tracking Number. Couriers are entities like FedEx, USPS, etc.

License

Notifications You must be signed in to change notification settings

adgaudio/MysteryTrackingNumber

Repository files navigation

MysteryTrackingNumber

Given a tracking number, identify the Courier.

This is a Java library that wraps JSON data from a shared repository. It is originally inspired by jkeen's Ruby library. Thank you, Jeff Keen!

Please open an issue/PR if this library is missing any Couriers. PRs and issues are gladly accepted.

Usage:

TrackingNumber tn = TrackingNumber.parse("mytrackingnumber");

tn.isCourierRecognized();
tn.getCourierName();
tn.getTrackingUrl();
tn.trackingNumber;

Developer notes:

To add a new Courier:

Information for tracking number "check digit" algorithms used by various couriers:

About

Identify the Courier for a given Tracking Number. Couriers are entities like FedEx, USPS, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages