Script to detect delivery media by tracking number

I saw several websites where you can determine who the carrier is based on the tracking number. Is there an open library or code somewhere that can help me with this?

PHP is preferred, but I can possibly migrate it if not.

+6
source share
3 answers

I recently encountered the same need and started an open source project called Argo: https://github.com/dsposito/argo

Argo identifies the carrier and provider (a third party, such as Endicia or Stamps.com) for this tracking code.

+3
source

I don't know about the library, but with some search I found a question similar to yours: http://answers.google.com/answers/threadview/id/207899.html

The FedEx, UPS, USPS, and AIRBORNE formats are described very well, and it’s easy to write some static methods in the class to test for them. But you did not indicate which media you want to find, in which country, etc., So this may not be very useful.

+1
source

Source: https://habr.com/ru/post/891086/


All Articles