PHPackages                             cyrrill/apai-io - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. cyrrill/apai-io

ActiveLibrary[HTTP &amp; Networking](/categories/http)

cyrrill/apai-io
===============

Amazon Product Advertising PHP Library

2.0.0(8y ago)2312Apache-2.0PHPPHP &gt;=5.6.0

Since Jun 20Pushed 8y ago2 watchersCompare

[ Source](https://github.com/cyrrill/apai-io)[ Packagist](https://packagist.org/packages/cyrrill/apai-io)[ RSS](/packages/cyrrill-apai-io/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (14)Used By (0)

apai-io
=======

[](#apai-io)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/46700b649bd205c7ca131ff75d7c96b24fefd6be15b56c8b043e5cdfbed1c864/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63797272696c6c2f617061692d696f2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/cyrrill/apai-io/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ba40c27c4ffab157c1bd356e3fbc40c53e8a23542eab76d07401d92e72d53973/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63797272696c6c2f617061692d696f2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/cyrrill/apai-io/?branch=master)[![Build Status](https://camo.githubusercontent.com/b51314a5ef846bfc95e4b87546f2101216c19c336d279f97de5df25d7b6ffac3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63797272696c6c2f617061692d696f2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/cyrrill/apai-io/build-status/master)[![Latest Stable Version](https://camo.githubusercontent.com/1e55294f1ca11f9611095882e3afc466d82c5b25ae0d70b534da66df3b960f92/68747470733a2f2f706f7365722e707567782e6f72672f657865752f617061692d696f2f762f737461626c652e737667)](https://packagist.org/packages/exeu/apai-io) [![Total Downloads](https://camo.githubusercontent.com/93627dddff646b5f99031c4f7e2a4b51621b01f02f3c10a34379994561a4ed34/68747470733a2f2f706f7365722e707567782e6f72672f657865752f617061692d696f2f646f776e6c6f6164732e737667)](https://packagist.org/packages/exeu/apai-io)[![Build Status](https://camo.githubusercontent.com/122920813de8b9d76b2994231c70a0b31a8b2d14e98a16b5c228dfc665e8dc58/68747470733a2f2f7472617669732d63692e6f72672f63797272696c6c2f617061692d696f2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/cyrrill/apai-io)[![Documentation Status](https://camo.githubusercontent.com/d213e831d5a648ea6127013f22de74f8e54765381c3b2cc29bebf5c4dbaf25ab/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f617061692d696f2f62616467652f3f76657273696f6e3d737461626c65)](http://apai-io.readthedocs.io/en/stable/?badge=stable)

ApaiIO is a highly flexible PHP library for fetching the Product Advertising API using REST or SOAP. You can either use the built in operations like ItemSearch or ItemLookup or you can implement your own operations which fits to your needs.

Everything is programmed against interfaces so you can implement your own request or response classes for example.

This class is realized by the Product Advertising API (former ECS) from Amazon WS Front.

You can try it out with the new demo site:

NOTE: This is a fork with added functionality maintained by cyrrill, since it diverges significantly in features from the original source, it has a differnt composer handle. It is not expected to be merged into mainline, but does receive updates from upstream when available.

Documentation
-------------

[](#documentation)

The documentation is currently under construction.

You can read here:

Installation
------------

[](#installation)

### Composer

[](#composer)

Add apai-io in your composer.json or create a new composer.json:

```
{
    "require": {
        "cyrrill/apai-io": "~2.0"
    }
}
```

Now tell composer to download the library by running the command:

```
$ php composer.phar install
```

Composer will generate the autoloader file automaticly. So you only have to include this. Typically its located in the vendor dir and its called autoload.php

Basic Usage:
------------

[](#basic-usage)

This library is using the PSR-0 standard: So you can use any autoloader which fits into this standard. The tests directory contains an example bootstrap file.

```
