recognizeim/php-client

There is no license information available for the latest version (dev-master) of this package.

Recognize.im is providing API for Image Recognition.

dev-master 2015-02-04 19:47 UTC

This package is not auto-updated.

Last update: 2024-05-11 14:18:22 UTC


README

Recognize.im is providing API for Image Recognition. Those module is sample PHP connector to the API

Installation

Just download the content of the lib/ directory and include the classes in your project or use composer:

$ composer.phar require "recognizeim/php-client" "dev-master"

Or add the following to your composer.json in the require section:

"require": {
    ... other requirements ...,
    "recognizeim/php-client": "dev-master"
}

Usage

To initialize your RecognizeIm call the init static method:

\RecognizeImAPI::init(array(
    'URL'       => $url,
    'CLIENT_ID' => $client_id,
    'API_KEY'   => $api_key,
    'CLAPI_KEY' => $clapi_key
));

You'll find a full example in the example/ directory.

Authorization

You don't need to call method auth by yourself. Module object will authorize you when needed, you just need do provide valid credentials. You can get them from your account tab