Skip to content

wpillar/bates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages