PHP code example of producttrap / driver-target-australia
1. Go to this page and download the library: Download producttrap/driver-target-australia library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
producttrap / driver-target-australia example snippets
use ProductTrap\ProductTrap;
/** @var ProductTrap $productTrap */
$target = $productTrap->driver('target_australia');
$details = $target->find('ABC123');
echo $details->unitPrice->label(); // $24.56 / 1KG