Quantcast

AutoMax 130C Shredder CrossCut

Rated 3/5 based on 1 customer reviews
by , Be the first one to review this product.
AutoMax 130C Shredder CrossCut

 
Fellowes
CONDITION:  NEW
ITEM ID: 31616465
MPN: 4680001
UPC: 00043859683734
WAS: $569.99
 
$375.93
Approx. 2

 


 
Find on Amazon.com

 


 
 

 
  This or Similar products from Amazon.com:
accessKeyID = $accessKeyID; $this->secretAccessKey = $secretAccessKey; $this->xAmzDate = $this->getTimeStamp (); $this->currentDate = $this->getDate (); } function setPath($path) { $this->path = $path; } function setServiceName($serviceName) { $this->serviceName = $serviceName; } function setRegionName($regionName) { $this->regionName = $regionName; } function setPayload($payload) { $this->payload = $payload; } function setRequestMethod($method) { $this->httpMethodName = $method; } function addHeader($headerName, $headerValue) { $this->awsHeaders [$headerName] = $headerValue; } private function prepareCanonicalRequest() { $canonicalURL = ""; $canonicalURL .= $this->httpMethodName . "\n"; $canonicalURL .= $this->path . "\n" . "\n"; $signedHeaders = ''; foreach ( $this->awsHeaders as $key => $value ) { $signedHeaders .= $key . ";"; $canonicalURL .= $key . ":" . $value . "\n"; } $canonicalURL .= "\n"; $this->strSignedHeader = substr ( $signedHeaders, 0, - 1 ); $canonicalURL .= $this->strSignedHeader . "\n"; $canonicalURL .= $this->generateHex ( $this->payload ); return $canonicalURL; } private function prepareStringToSign($canonicalURL) { $stringToSign = ''; $stringToSign .= $this->HMACAlgorithm . "\n"; $stringToSign .= $this->xAmzDate . "\n"; $stringToSign .= $this->currentDate . "/" . $this->regionName . "/" . $this->serviceName . "/" . $this->aws4Request . "\n"; $stringToSign .= $this->generateHex ( $canonicalURL ); return $stringToSign; } private function calculateSignature($stringToSign) { $signatureKey = $this->getSignatureKey ( $this->secretAccessKey, $this->currentDate, $this->regionName, $this->serviceName ); $signature = hash_hmac ( "sha256", $stringToSign, $signatureKey, true ); $strHexSignature = strtolower ( bin2hex ( $signature ) ); return $strHexSignature; } public function getHeaders() { $this->awsHeaders ['x-amz-date'] = $this->xAmzDate; ksort ( $this->awsHeaders ); $canonicalURL = $this->prepareCanonicalRequest (); $stringToSign = $this->prepareStringToSign ( $canonicalURL ); $signature = $this->calculateSignature ( $stringToSign ); if ($signature) { $this->awsHeaders ['Authorization'] = $this->buildAuthorizationString ( $signature ); return $this->awsHeaders; } } private function buildAuthorizationString($strSignature) { return $this->HMACAlgorithm . " " . "Credential=" . $this->accessKeyID . "/" . $this->getDate () . "/" . $this->regionName . "/" . $this->serviceName . "/" . $this->aws4Request . "," . "SignedHeaders=" . $this->strSignedHeader . "," . "Signature=" . $strSignature; } private function generateHex($data) { return strtolower ( bin2hex ( hash ( "sha256", $data, true ) ) ); } private function getSignatureKey($key, $date, $regionName, $serviceName) { $kSecret = "AWS4" . $key; $kDate = hash_hmac ( "sha256", $date, $kSecret, true ); $kRegion = hash_hmac ( "sha256", $regionName, $kDate, true ); $kService = hash_hmac ( "sha256", $serviceName, $kRegion, true ); $kSigning = hash_hmac ( "sha256", $this->aws4Request, $kService, true ); return $kSigning; } private function getTimeStamp() { return gmdate ( "Ymd\THis\Z" ); } private function getDate() { return gmdate ( "Ymd" ); } } /* # Search Index Display Name All All Departments Automotive Automotive Baby Baby Beauty Beauty Books Books Computers Computers Electronics Electronics EverythingElse Everything Else Fashion Clothing & Shoes GiftCards Gift Cards HealthPersonalCare Health, Household & Personal Care HomeAndKitchen Home & Kitchen KindleStore Kindle Store Lighting Lighting Luggage Luggage & Travel Gear MobileApps Apps & Games MoviesAndTV Movies & TV Music CDs & Vinyl OfficeProducts Stationery & Office Products PetSupplies Pet Supplies Software Software SportsAndOutdoors Sports, Fitness & Outdoors ToolsAndHomeImprovement Home Improvement ToysAndGames Toys & Games VideoGames Video Games */ $searchItemRequest = new SearchItemsRequest (); $searchItemRequest->PartnerType = "Associates"; // Put your Partner tag (Store/Tracking id) in place of Partner tag // $searchItemRequest->PartnerTag = ; $searchItemRequest->PartnerTag = "runocom-20"; // if (!isset($_GET['title'])) { $searchItemRequest->Title = $_GET['title']; } // else { $searchItemRequest->Keywords = $_GET['keywords']; } $searchItemRequest->$mySearchType = $_GET['keywords']; // $searchItemRequest->Title = "DEMETER GINGER COOKIE"; // SearchIndex can use the search index above that are mapped categories $searchItemRequest->SearchIndex = $mySearchIndex; // $searchItemRequest->SearchIndex = "EverythingElse"; // $searchItemRequest->Resources = ["Images.Primary.Medium","ItemInfo.Title","Offers.Listings.Price"]; $searchItemRequest->Merchant = "Amazon"; $searchItemRequest->ItemCount = 4; $searchItemRequest->Condition = "New"; //$searchItemRequest->SortBy = "Price:LowToHigh"; if (isset($_GET['feed'])) { $searchItemRequest->Resources = ["Images.Primary.Large","ItemInfo.Title","Offers.Listings.Price","ItemInfo.Features","ItemInfo.ManufactureInfo","ItemInfo.ByLineInfo","ItemInfo.ProductInfo","ItemInfo.ExternalIds"]; } else { $searchItemRequest->Resources = ["Images.Primary.Large","ItemInfo.Title","Offers.Listings.Price"]; } $host = "webservices.amazon.com"; $path = "/paapi5/searchitems"; $payload = json_encode ($searchItemRequest); //Put your Access Key in place of and Secret Key in place of in double quotes //$awsv4 = new AwsV4 ("AKIAIJV7O4QYJGAPCBHQ","SkR3CaNxhAgLkLsccaLCW0ZCf9EyAHOr/z00FIFN"); $awsv4 = new AwsV4 ("AKIAIHCZMK3AXUL2IK6A","UOZJzQZzT3u1QgyJ7WPY7mFFox6qEFJllwG58GU+"); $awsv4->setRegionName("us-east-1"); $awsv4->setServiceName("ProductAdvertisingAPI"); $awsv4->setPath ($path); $awsv4->setPayload ($payload); $awsv4->setRequestMethod ("POST"); $awsv4->addHeader ('content-encoding', 'amz-1.0'); $awsv4->addHeader ('content-type', 'application/json; charset=utf-8'); $awsv4->addHeader ('host', $host); $awsv4->addHeader ('x-amz-target', 'com.amazon.paapi5.v1.ProductAdvertisingAPIv1.SearchItems'); $headers = $awsv4->getHeaders (); $headerString = ""; //$CurlheaderS = ""; sleep(1); // print 'https://'.$host.$path; foreach ( $headers as $key => $value ) { $headerString .= $key . ': ' . $value . "\r\n"; // $CurlheaderS .= "'".$key . ': ' . $value."',"; } //$CurlheaderS = rtrim($CurlheaderS, ','); //$CurlheaderS = [$CurlheaderS]; //print "\n\n".$CurlheaderS."\n\n"; //print "\n\n".$payload."\n\n"; //exit; $params = array ( 'http' => array ( 'method' => 'POST', 'header' => $headerString, 'content' => $payload ) ); $stream = stream_context_create ( $params ); // $fp = @fopen ( 'https://'.$host.$path, 'rb', false, $stream ); $fp = @fopen('https://'.$host.$path, 'rb', false, $stream); //$fp = file_get_contents('https://'.$host.$path, false, $stream); /* $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://".$host.$path); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPHEADER, $CurlheaderS); curl_setopt($ch, CURLOPT_POSTFIELDS, $payload); $response = curl_exec($ch); if (curl_errno($ch)) { $error_msg = curl_error($ch); } curl_close($ch); //echo $response; exit; */ if (!$fp) { throw new Exception ( "Exception Occured: ".$response ); } $response = @stream_get_contents ( $fp ); if ($response === false) { throw new Exception ( "Exception Occured: ".$response ); } /* print "{\n"; print "\"name\":\"JOITO's\",\n"; print "\"service\":\"AmazonProductAdvertising\",\n"; print "\"version\":\"0.0.1\",\n"; print "\"url\":\"http://www.joitos.com\",\n"; print "\"email\":\"support@joitos.com\",\n"; print "\"author\":\"Djem Guerreru Inc\",\n"; print "\"author_url\":\"http://www.djemguerreru.com\",\n"; //print "\"results\":\"$numrows\",\n"; print "\"data\":$response\n"; print "}\n"; */ // echo $response; $amazon = json_decode($response); $sarana .= ""; $amzi = 0; if ($amazon->{'SearchResult'}->{'TotalResultCount'} >= 1) { //print $amazon->{'SearchResult'}->{'Items'}[0]->{'DetailPageURL'}; //while ($amzi < count($amazon->{'SearchResult'}->{'Items'})) { if (count($amazon->{'SearchResult'}->{'Items'}) > 4) { $myAmzCount = 4; } else { $myAmzCount = count($amazon->{'SearchResult'}->{'Items'}); } while ($amzi < $myAmzCount) { $sarana .= "\n"; $amzi++; } } else { $sarana = "
No matching results found.
"; } echo $sarana; class SearchItemsRequest { public $PartnerType; public $PartnerTag; public $Keywords; public $SearchIndex; public $Resources; } ?>
 
  More from our Laminators lineup:
 <<-- Go Back 
 

 
JOITO's

 
We use cookies to give you the best experience. Read our cookie policy.