ups

Tracking API for Fedex and UPS [closed]

不羁岁月 提交于 2019-11-28 18:50:25
Is there any JavaScript API available for tracking Fedex and UPS packages? Harshal_m_joshi I googled for same but couldn't found any. Then i decide to it by server side in ROR here it is how to get UPS and Fedex xml request and response from their test servers For Fedex: track_no = '111111111111' (This is test track no) This XML Request body for fedex xml_req = "<TrackRequest xmlns='http://fedex.com/ws/track/v3'><WebAuthenticationDetail><UserCredential><Key>YOUR_ACC_KEY</Key> <Password>YOUR_ACC_PASSWORD</Password></UserCredential></WebAuthenticationDetail><ClientDetail> <AccountNumber>YOUR_ACC

Regular Expression patterns for Tracking numbers

我与影子孤独终老i 提交于 2019-11-28 15:34:42
Does anybody know good place or patterns for checking which company tracking number is the given tracking number for a package. Idea is After scanning a barcode for a package check tracking number with patterns and show which company it was shipped by. Adil Just thought I would post an update on this as I am working on this to match via jquery and automatically select the appropriate shipping carrier. I compiled a list of the matching regex for my project and I have tested a lot of tracking numbers across UPS FedEX and USPS. If you come across something which doesn't match, please let me know