katoni/api-php-client

Maintainers

Package info

github.com/katoni/api-php-client

Homepage

pkg:composer/katoni/api-php-client

Statistics

Installs: 24

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2-alpha.1 2016-09-05 07:28 UTC

This package is auto-updated.

Last update: 2026-03-17 21:54:23 UTC


README

Installation

The Katoni API Client Library can be installed with Composer. Run this command:

composer require katoni/api-php-client:^1.0

Usage

Note: This library requires PHP 5.4 or greater.

Simple GET example of fetching products.

// include your composer dependencies
require_once 'vendor/autoload.php';

$client = new Katoni\Client();
$client->setDeveloperKey("YOUR_APP_KEY");

$results = $client->get('/products');

foreach ($results as $item) {
    echo $item['name'], "<br /> \n";
}