groupby / api
GroupBy Inc. Searchandiser PHP API.
v2.0.249
2017-08-22 15:13 UTC
Requires
- php: >=5.4.0
- jms/serializer: 1.0.0
- nategood/httpful: 0.2.19
Requires (Dev)
- consolidation/robo: ^1.1
- monolog/monolog: 1.11.0
- phake/phake: 2.0.1
- phpunit/phpunit: 4.3.5
This package is not auto-updated.
Last update: 2024-10-25 14:25:12 UTC
README
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.