GroupBy Inc. Searchandiser PHP API.

v2.0.249 2017-08-22 15:13 UTC

README

Scrutinizer Code Quality Build Status Packagist Version Packagist Downloads license

Setup Instructions

For more on robo php taskrunner see here.

To install

composer install

To install and test

composer test

To add a dependency to this project

Composer

Add the following to the require block of your composer.json

"groupby/api": "2.0.249"

or run

composer require groupby/api:2.0.249

Examples

Searching

$bridge = new CloudBridge('<client key', 'myCustomerId');
$query = new Query();
$query->setQuery('dvd');
/** @var Results $results */
$results = $bridge->search($query);

Quickstart Web Application

Look here for an example of how to load the annotations used by our API for serialization.

Changes

As of v2.0.44 zones in a template will be serialized as an array with the names of the zones as keys.