Skip to content

isocsoft/isocapi-sdk

Repository files navigation

isocapi SDK

The isocapi-sdk library provides convenient access to the isocapi API from apps written in PHP. It includes client with multiple convenient methods to obtain data you need.

Isocapi documentantion

See our page: Isocapi

Instalation

composer require isocsoft/isocapi-sdk

Requirements

  • PHP 8.3

Usage:

synchronous
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();

Support

If you have encountered a bug or have any ideas how to improve this library - don't be afraid to open an issue with an explanation.