2017 © Pedro Peláez
 

library apai-io

Amazon Product Advertising PHP Library

image

cyrrill/apai-io

Amazon Product Advertising PHP Library

  • Tuesday, August 1, 2017
  • by cyrrill
  • Repository
  • 2 Watchers
  • 2 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 163 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

apai-io

Scrutinizer Code Quality Code Coverage Build Status Latest Stable Version Total Downloads Build Status Documentation Status, (*1)

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., (*2)

Everything is programmed against interfaces so you can implement your own request or response classes for example., (*3)

This class is realized by the Product Advertising API (former ECS) from Amazon WS Front. https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html, (*4)

You can try it out with the new demo site: http://apaiio.dev.pixel-web.org/, (*5)

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., (*6)

Documentation

The documentation is currently under construction., (*7)

You can read here: http://apai-io.readthedocs.io/en/latest/, (*8)

Installation

Composer

Add apai-io in your composer.json or create a new composer.json:, (*9)

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

Now tell composer to download the library by running the command:, (*10)

``` bash $ php composer.phar install, (*11)


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: This library is using the PSR-0 standard: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md So you can use any autoloader which fits into this standard. The tests directory contains an example bootstrap file. ``` php <?php namespace Acme\Demo; use ApaiIO\Configuration\GenericConfiguration; use ApaiIO\Operations\Search; use ApaiIO\ApaiIO; $conf = new GenericConfiguration(); $client = new \GuzzleHttp\Client(); $request = new \ApaiIO\Request\GuzzleRequest($client); $conf ->setCountry('com') ->setAccessKey(AWS_API_KEY) ->setSecretKey(AWS_API_SECRET_KEY) ->setAssociateTag(AWS_ASSOCIATE_TAG) ->setRequest($request); $apaiIO = new ApaiIO($conf); $search = new Search(); $search->setCategory('DVD'); $search->setActor('Bruce Willis'); $search->setKeywords('Die Hard'); $formattedResponse = $apaiIO->runOperation($search); var_dump($formattedResponse);

For some very simple examples go to the samples-folder and have a look at the sample files. These files contain all information you need for building queries successful., (*12)

Webservice Documentation:

Hosted on Amazon.com: http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/, (*13)

The Versions

01/08 2017

dev-master

9999999-dev

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Avatar cyrrill
by Jan Eichhorn

rest amazon soap ecs products product advertising

14/07 2017

dev-patch-4

dev-patch-4 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Jan Eichhorn

rest amazon ecs products product advertising

13/07 2017

dev-patch-3

dev-patch-3 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Jan Eichhorn

rest amazon ecs products product advertising

13/07 2017

dev-patch-2

dev-patch-2 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Jan Eichhorn

rest amazon ecs products product advertising

12/07 2017

dev-patch-1

dev-patch-1 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Jan Eichhorn

rest amazon ecs products product advertising

11/07 2017

2.0.0

2.0.0.0

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Avatar cyrrill
by Jan Eichhorn

rest amazon soap ecs products product advertising

11/07 2017

dev-Exeu-master

dev-Exeu-master

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Avatar cyrrill
by Jan Eichhorn

rest amazon soap ecs products product advertising

16/11 2013

1.5.0

1.5.0.0 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0
  • ext-curl *

 

by Jan Eichhorn

rest amazon soap ecs products product advertising

28/09 2013

1.4.0

1.4.0.0 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

by Jan Eichhorn

rest amazon soap ecs products product advertising

07/09 2013

1.3.1

1.3.1.0 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

by Jan Eichhorn

rest amazon soap ecs products product advertising

07/09 2013

1.3.0

1.3.0.0 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

by Jan Eichhorn

rest amazon soap ecs products product advertising

05/08 2013

1.2.0

1.2.0.0 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

by Jan Eichhorn

rest amazon soap ecs products product advertising

24/06 2013

1.1.0

1.1.0.0 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

by Jan Eichhorn

rest amazon soap ecs products product advertising

20/06 2013

1.0.0

1.0.0.0 https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

by Jan Eichhorn

rest amazon soap ecs products product advertising