WebService::UPS::TrackRequest - Generate a Request for Tracking Information
my $Package = WebService::UPS::TrackRequest->new; $Package->Username('kbrandt'); $Package->Password('topsecrent'); $Package->License('8C3D7EE8FZZZZZ4'); $Package->TrackingNumber('1ZA45Y5111111111'); print $Package->Username(); my $trackedpackage = $Package->requestTrack();
You will need to get a UPS Online Tools License and Account to use this module: http://www.ups.com/e_comm_access/gettools_index?loc=en_US
$package = WebService::UPS::TrackRequest->new( Username => 'kbrandt');
The constructor method that creates a new Request Object.
You will need to register with UPS to get a developer key and then a License to access the XML Service
Username for your UPS account
Password for your UPS account
The Tracking number of your package
Set this to something to make a lot of stuff appear
The URL the request is set to, you shouldn't have to Touch this
Optional, a human readable name for your package. Defaults to 'A Package'
my $trackedPackage = $package->requestTrack();
Sumbits the request to UPS and returns a TrackedPackage Object
Kyle Brandt, email@example.com http://www.kbrandt.com