Code for recognizing delivery company by track
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
recognize_delivery_service.php
recognize_delivery_service.py

README.md

Code for recognizing delivery company by track

All companies use their own tracking number format, so I have created special regular expressions for all of them. I've investigated formats in the official documentation of delivery companies. This solution works for the following services:

  • UPS
  • USPS
  • FedEX

You can read how it works here - https://andrewkurochkin.com/blog/code-for-recognizing-delivery-company-by-track.