PHP code example of isocsoft / isocapi-sdk

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

    

isocsoft / isocapi-sdk example snippets


use Isocapi\ApiClient;
use Isocapi\Source\Olx;

$client = new ApiClient('your-isocapi-key');

$response = $client->request(
    source: new Olx\AuctionsDetailsByKeyword([
        'keyword' => 'Nike',
        'page' => 1,
    ]);
);

return $response->toArray();