PHP code example of ilazaridis / skroutz

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

    

ilazaridis / skroutz example snippets




azaridis\skroutz\Client as Client;

$client = new Client('identifier', 'secret');

print_r($client->category('40')->fetch());  // get category with id=40

$client->category('40')->children()->fetch()

$client->shop('452')->location('2500')->fetch()

$client->category('25')->manufacturers()->params(['order_by' => 'name', 'order_dir' => 'asc'])->fetch()

$client->category('40')->skus()->params(['filter_ids[]' => '355559,6282'])->fetch()