2017 © Pedro Peláez
 

symfony-bundle apai-io-bundle

Amazon Product Advertising PHP Library Symfony 2 Bundle

image

exeu/apai-io-bundle

Amazon Product Advertising PHP Library Symfony 2 Bundle

  • Saturday, January 30, 2016
  • by Exeu
  • Repository
  • 2 Watchers
  • 4 Stars
  • 8,007 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

ExeuApaiIOBundle

Symfony 2 integration of the ApaiIO-library., (*1)

Installation

All you have to do is to add the following lines to your composer.json:, (*2)

{
    "require": {
        "exeu/apai-io-bundle": "dev-master"
    }
}

After you've done this tell composer to update your vendors:, (*3)

$ php composer.phar update exeu/apai-io-bundle

Finally register the new Bundle with your application:, (*4)

<?php

// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new Exeu\ApaiIOBundle\ExeuApaiIOBundle(),
    // ...
);

Minimal configuration

To get this bundle working you have to add the following to your config.yml, (*5)

# app/config/config.yml

exeu_apai_io:
    accesskey: YOUR ACCESSKEY
    secretkey: YOUR SECRETKEY
    associatetag: YOUR ASSOCIATE TAG
    country: COUNTRY (eg. de, com)

Optional configuration

If you want to change the requesttype or the responsetransformer you can do this by adding it to your config file:, (*6)

# app/config/config.yml

exeu_apai_io:
    request: \ApaiIO\Request\Soap\Request
    response: \ApaiIO\ResponseTransformer\ObjectToArray

Usage

To work with ApaiIO you need to get the new service for example in your controller:, (*7)

``` php <?php, (*8)

$apaiIo = $this->get('apaiio');, (*9)


Now you can execute your first searchrequest: ``` php <?php // ... $search = new \ApaiIO\Operations\Search(); $search->setCategory('DVD'); $search->setActor('Bruce Willis'); $search->setKeywords('Die Hard'); $formattedResponse = $apaiIo->runOperation($search); var_dump($formattedResponse);

For more detailed information See: ApaiIO - Examples, (*10)

Documentation of ApaiIO: ApaiIO - Documentation, (*11)

The Versions

30/01 2016

1.x-dev

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

Amazon Product Advertising PHP Library Symfony 2 Bundle

  Sources   Download

Apache-2.0

The Requires

 

by Jan Eichhorn

rest bundle amazon soap ecs products symfony 2 product advertising

30/01 2016

1.1.0

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

Amazon Product Advertising PHP Library Symfony 2 Bundle

  Sources   Download

Apache-2.0

The Requires

 

by Jan Eichhorn

rest bundle amazon soap ecs products symfony 2 product advertising

30/01 2016

dev-master

9999999-dev https://github.com/Exeu/apai-io-bundle

Amazon Product Advertising PHP Library Symfony 2 Bundle

  Sources   Download

Apache-2.0

The Requires

 

by Jan Eichhorn

rest bundle amazon soap ecs products symfony 2 product advertising

30/01 2016

2.0.0

2.0.0.0 https://github.com/Exeu/apai-io-bundle

Amazon Product Advertising PHP Library Symfony 2 Bundle

  Sources   Download

Apache-2.0

The Requires

 

by Jan Eichhorn

rest bundle amazon soap ecs products symfony 2 product advertising

25/09 2013

dev-eventable

dev-eventable https://github.com/Exeu/apai-io-bundle

Amazon Product Advertising PHP Library Symfony 2 Bundle

  Sources   Download

Apache-2.0

The Requires

 

by Jan Eichhorn

rest bundle amazon soap ecs products symfony 2 product advertising

31/08 2013

1.0.0

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

Amazon Product Advertising PHP Library Symfony 2 Bundle

  Sources   Download

Apache-2.0

The Requires

 

by Jan Eichhorn

rest bundle amazon soap ecs products symfony 2 product advertising