PHP code example of shevabam / amazon-product-info

1. Go to this page and download the library: Download shevabam/amazon-product-info 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/ */

    

shevabam / amazon-product-info example snippets




$Amz = new \AmazonProductInfo\AmazonProductInfo([
    'access_key'  => '',
    'secret_key'  => '',
    'partner_tag' => '',
    'lang'        => 'fr'
]);

$getResults = $Amz->searchByAsin(["B084J4MZK6", "B07ZZVWB4L"]);



$Amz = new \AmazonProductInfo\AmazonProductInfo([
    'access_key'  => '',
    'secret_key'  => '',
    'partner_tag' => '',
    'lang'        => 'fr'
]);

$getResults = $Amz->searchByAsin(["B084J4MZK6", "B07ZZVWB4L"]);