Skip to content

katoni/api-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Katoni APIs Client Library for PHP

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";
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages