category Zend
package Zend_Service
subpackage Amazon
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Service_Amazon

 Methods

Prepares query parameters

__call(string $method, array $args) : \Zend_Service_Amazon_Query

Parameters

$method

string

$args

array

Exceptions

\Zend_Service_Exception

Returns

\Zend_Service_Amazon_QueryProvides a fluent interface

Constructs a new Amazon Web Services Client

__construct(string $appId, string $countryCode = 'US', $secretKey = null) : \Zend_Service_Amazon
Inherited

Parameters

$appId

string

Developer's Amazon appid

$countryCode

string

Country code for Amazon service; may be US, UK, DE, JP, FR, CA

$secretKey

Exceptions

\Zend_Service_Exception

Returns

\Zend_Service_Amazon

Build the Raw Signature Text

buildRawSignature(string $baseUri, array $options) : string
InheritedStatic

Parameters

$baseUri

string

$options

array

Returns

string

Compute Signature for Authentication with Amazon Product Advertising Webservices

computeSignature(string $baseUri, string $secretKey, array $options) : string
InheritedStatic

Parameters

$baseUri

string

$secretKey

string

$options

array

Returns

string

Returns a reference to the REST client

getRestClient() : \Zend_Rest_Client
Inherited

Returns

\Zend_Rest_Client

Look up item(s) by ASIN

itemLookup(string $asin, array $options = array()) : \Zend_Service_Amazon_Item | \Zend_Service_Amazon_ResultSet
Inherited
see

Parameters

$asin

string

Amazon ASIN ID

$options

array

Query Options

Exceptions

\Zend_Service_Exception

Returns

\Zend_Service_Amazon_Item\Zend_Service_Amazon_ResultSet

Search for Items

itemSearch(array $options) : \Zend_Service_Amazon_ResultSet
Inherited
see

Parameters

$options

array

Options to use for the Search Query

Exceptions

\Zend_Service_Exception

Returns

\Zend_Service_Amazon_ResultSet

Set REST client

setRestClient(\Zend_Rest_Client $client) : \Zend_Service_Amazon
Inherited

Parameters

$client

Returns

\Zend_Service_Amazon

Check result for errors

_checkErrors(\DOMDocument $dom) : void
InheritedStatic

Parameters

$dom

\DOMDocument

Exceptions

\Zend_Service_Exception

Prepare options for request

_prepareOptions(string $query, array $options, array $defaultOptions) : array
Inherited

Parameters

$query

string

Action to perform

$options

array

User supplied options

$defaultOptions

array

Default options

Returns

array

 Properties

 

Amazon Web Services Access Key ID

$appId : string

Default

 

$_baseUri

$_baseUri : string

Default

null
 

List of Amazon Web Service base URLs, indexed by country code

$_baseUriList : array

Default

array('US' => 'http://webservices.amazon.com', 'UK' => 'http://webservices.amazon.co.uk', 'DE' => 'http://webservices.amazon.de', 'JP' => 'http://webservices.amazon.co.jp', 'FR' => 'http://webservices.amazon.fr', 'CA' => 'http://webservices.amazon.ca')
 

Reference to REST client object

$_rest : \Zend_Rest_Client

Default

null
   

Search index

$_searchIndex : string

Default

null
 

$_secretKey

$_secretKey : string

Default

null