PHP code example of sergeylukin / amazon-product-search

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

    

sergeylukin / amazon-product-search example snippets


 Sergeylukin\AmazonProductSearch as Amazon;

$Product = Amazon::factory()->findOneProductByKeyword('latte cup');

print_r($Product);

stdClass Object
(
 [title] => Best latte cup
 [price] => $12.05
 [image_uri] => http://example.com/latte-cup.jpg
 [description] => The best latte cup you will ever drink latte from. Period.
)