wpillar / bates

A PHP library for interacting with Amazon's Product Advertising API across multiple locales

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bates

A PHP library for interacting with Amazon's Product Advertising API across multiple locales.

Installation

We recommend using Composer to install Bates. First you'll need to declare the repository so Composer knows where to find it. Add this to your composer.json:

"repositories": [
    {
        "type": "git",
        "url": "git@github.com:wpillar/bates.git"
    }
]

Then add this:

"require": {
    "wpillar/bates": "dev-master",
}

Usage

$request = new \Bates\Request(new \Bates\Locale\UK(), new \Bates\ObjectResponse(), 'accessKey', 'secretKey');
$request->setCategory('Books');

$response = $request->search('Harry Potter');

var_dump($response);

Henry Walter Bates

Bates

Henry Walter Bates was an English naturalist and explorer who gave the first scientific account of mimicry in animals. He was most famous for his expedition to the rainforests of the Amazon with Alfred Russel Wallace, starting in 1848. Wallace returned in 1852, but lost his collection in a shipwreck. When Bates arrived home in 1859 after a full eleven years, he had sent back over 14,712 species (mostly of insects) of which 8,000 were new to science.

About

A PHP library for interacting with Amazon's Product Advertising API across multiple locales


Languages

Language:PHP 100.0%