Skip to content

Converts package tracking numbers into URLs (UPS, FedEx, USPS, and more)

License

Notifications You must be signed in to change notification settings

mgtremaine/py_tracking_urls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python3 Package Tracking URL Library

About

Python Package Tracking URL Library is used to convert package tracking numbers into their respective shipper's online tracking URL format. Based on the Original php code by Darkain Multimedia Copyright (c) 2012, 2017

Supported shippers:

  • United States Postal Service (USPS)
  • United Parcel Service (UPS)
  • Federal Express (FedEx)
  • OnTrac
  • DHL
  • RoyalMail

License

This software library is licensed under the BSD 2-clause license, and may be freely used in any project which is compatible with this license.

Example

Usage:

tracking = '1Z9999W99999999999';
url = get_tracking_url(tracking);
print(url)

Output:

http://wwwapps.ups.com/WebTracking/processInputRequest?TypeOfInquiryNumber=T&InquiryNumber1=1Z9999W99999999999

About

Converts package tracking numbers into URLs (UPS, FedEx, USPS, and more)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages