PHP code example of fisk / marketplace-partner

1. Go to this page and download the library: Download fisk/marketplace-partner 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/ */

    

fisk / marketplace-partner example snippets



$config = new Configuration([
    Configuration::API_KEY => ''
]);

$client = new Marketplace($config);
$client->addRunner(new GuzzleRunner(new Client(), new GuzzleUrlBuilder()));
$client->addRunner(new DecodeJsonStringRunner());

$result = $client->run(new GetDashboardItems());

print_r($result);