PHP code example of arcadier / arcadier-php

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

    

arcadier / arcadier-php example snippets



$sdk = new ApiSdk();


$sdk = new ApiSdk();

$marketplace_info = $sdk->getMarketplaceInfo();
echo $marketplace_info;

$item_list = $sdk->getAllItems();
echo $item_list['Records']; //The actual array of items is in the "Records" field of the JSON response
bash
composer