• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Decoding tracking numbers to find vendor...

 
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm looking for some code to determine a shipping carrier (UPS, DHL, FedEx, etc) given a tracking number. This would be similar to how you'd deduce which credit card type from the credit card number.

Yes, I realize that I can just write this with some regex statements and such, but if something is already out there and includes the rules for each carrier (the most important part), I'd be thankful to just impliment it.

Thanks for any comments!

BTW, I'll post this also in the Javascript area too, since it need not be written in Java per-se. Heck, if it's written in SQL as a stored proc, I'm cool with that!
 
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure I understand the question. Perhaps some more details will throw more light?
 
Michael Sullivan
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
okay, ever seen code that can tell you the Credit Card Vendor (visa, mastercard, AMEX, etc) from the credit card number? I'm asking if anyone has seen similar code that determines the shipping vendor (UPS, FedEx, DHL, etc) from the tracking number.

Hope that helps!
 
Thank you my well lotioned goddess! Here, have my favorite tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic