Packing tracking api for Node.js. Focused on USPS, Fedex, UPS
To use:
var tracking = require('./TrackApi.js'); to load
USPS: tracking.trackUSPS(username, trackingNumber, function(err, data, response) { if(!err){ // This is where the magic will happen } else { console.log(err); } });
UPS: tracking.trackUPS(usernane, password, accessKey, trackingNumber, callback);
Fedex: tracking.trackFedex(username, password, accountNumber, meterNumber, trackingNumber, callback);