2017 © Pedro Peláez
 

library apai-io

Amazon Product Advertising PHP Library

image

exeu/apai-io

Amazon Product Advertising PHP Library

  • Monday, February 12, 2018
  • by Exeu
  • Repository
  • 65 Watchers
  • 590 Stars
  • 408,114 Installations
  • PHP
  • 15 Dependents
  • 0 Suggesters
  • 163 Forks
  • 10 Open issues
  • 18 Versions
  • 7 % Grown

The README.md

DISCONTINUED

If you want to implement new features you can still fork and enhance this repo. Please let me know if you plan to enhance this library then i can add your fork to this list., (*1)

apai-io

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

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

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

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

Documentation

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

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

Installation

Composer

``` bash $ composer require exeu/apai-io, (*8)


Composer will generate the autoloader file automaticaly. 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-4 standard: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.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., (*9)

Webservice Documentation:

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

The Versions

12/02 2018

dev-prep-release-2-2

dev-prep-release-2-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/02 2018

2.2.0

2.2.0.0 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/02 2018

dev-master

9999999-dev 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

24/02 2017

2.1.0

2.1.0.0 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

29/05 2016

1.x-dev

1.9999999.9999999.9999999-dev https://github.com/Exeu/apai-io

Amazon Product Advertising PHP Library

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by Jan Eichhorn

rest amazon soap ecs products product advertising

28/05 2016

2.0.0

2.0.0.0 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

08/03 2016

1.10.0

1.10.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 *

 

The Development Requires

by Jan Eichhorn

rest amazon soap ecs products product advertising

24/12 2015

1.9.0

1.9.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 *

 

The Development Requires

by Jan Eichhorn

rest amazon soap ecs products product advertising

01/01 2015

1.8.0

1.8.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 *

 

The Development Requires

by Jan Eichhorn

rest amazon soap ecs products product advertising

30/09 2014

1.7.0

1.7.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

29/09 2014

1.6.0

1.6.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

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