ups_tracking - Access UPS tracking webservice from the commandline
ups_tracking [options]
Options: --verbose Be verbose --config UPS tracking webservice access config file --help Display help text --TrackingNumber Shipment tracking number --ShipperNumber Shipper UPS customernumber --ShipmentIdentificationNumber Shipment identification number --ReferenceNumber Shipment reference number --ShipmentType Shipment type ["01" - Small shipment (Default), "02" - Freight ] --PickupDateRangeBegin Shipment pickup date range begin --PickupDateRangeEnd Shipment pickup date range end --DestinationPostalCode Shipment destination postal code --DestinationCountryCode Shipment destination country code --OriginPostalCode Shipment origin postal code --OriginCountryCode Shipment origin country code
This is the command-line program to use Business::UPS::Tracking. See the Business::UPS::Tracking, Business::UPS::Tracking::Request and Business::UPS::Tracking::Commandline documentation for more details.
In order to use this tool you need to obtain a "Tracking WebService" license key. See http://www.ups.com/e_comm_access/gettools_index for more information.
The license data needs to be stored in the UPS tracking webservice access config file, which should be located at ~/.ups_tracking
<?xml version="1.0"?> <UPS_tracing_webservice_config> <AccessLicenseNumber>1CFFED5A5E91B17</AccessLicenseNumber> <UserId>myupsuser</UserId> <Password>secret</Password> </UPS_tracing_webservice_config>
To install Business::UPS::Tracking, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::UPS::Tracking
CPAN shell
perl -MCPAN -e shell install Business::UPS::Tracking
For more information on module installation, please visit the detailed CPAN module installation guide.