PHP code example of dawson / amazon-ecs

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

    

dawson / amazon-ecs example snippets


Dawson\AmazonECS\AmazonECSServiceProvider::class,

'Amazon' => Dawson\AmazonECS\AmazonECSFacade::class

$results = Amazon::search('Home Alone')->json();

$product = Amazon::lookup('B004VLKY8M')->json();

$xml = Amazon::search('Call of Duty')->xml();

$json = Amazon::search('Halo')->json();

php artisan vendor:publish --provider="Dawson\AmazonECS\AmazonECSServiceProvider"