*
 */
//
// Please enter your account Id that you receive when you register at AuctionInc site
//
$API_AccountId = '';
//
// Change the path to directory where you have installed the ShipRate API files
//
$shipAPIClass = 'ShipRateAPI.inc';
if (!file_exists($shipAPIClass)) {
    die("Unable to locate ShipAPI class file [{$shipAPIClass}]");
}
include $shipAPIClass;
// Instantiate the Shipping Rate API object
$shipAPI = new ShipRateAPI($API_AccountId);
// SSL currently not supported
$shipAPI->setSecureComm(false);
// curl option (use only if you have the libcurl package installed)
$shipAPI->useCurl(false);
//************************************************************
// Set the Detail Level (1, 2 or 3) (Default = 1)
// DL 1:  minimum required data returned
// DL 2:  shipping rate components included
// DL 3:  package-level detail included
//************************************************************
$detailLevel = 3;
$shipAPI->setDetailLevel($detailLevel);
//************************************************************
// Set Currency
// Determines the currency of the returned rates
 *
 */
//
// Please enter your Account Id that you receive when you registered at AuctionInc site
//
$API_AccountId = '';
//
// Change the path to directory where you have installed the ShipRateAPI files
//
$shipAPIClass = 'ShipRateAPI.inc';
if (!file_exists($shipAPIClass)) {
    die("Unable to locate ShipAPI class file [{$shipAPIClass}]");
}
include $shipAPIClass;
// Instantiate the Shipping Rate API object
$shipAPI = new ShipRateAPI($API_AccountId);
// SSL currently not supported
$shipAPI->setSecureComm(false);
// curl option (use only if you have the libcurl package installed)
$shipAPI->useCurl(false);
// Show table of any errors for inspection for this example script
$showErrors = true;
//************************************************************
// Set the Detail Level (1, 2 or 3) (Default = 1)
// DL 1:  minimum required data returned
// DL 2:  shipping rate components included
// DL 3:  package-level detail included
//************************************************************
$detailLevel = 3;
$shipAPI->setDetailLevel($detailLevel);
//************************************************************