Service/Amazon.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- Amazon
- Version
- $Id$
Package: Zend_Service\Amazon- Children
- \Zend_Service_Amazon_Query
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties



array $_baseUriList = 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')
List of Amazon Web Service base URLs, indexed by country code
Default valuearray('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')
Details- Type
- array
Methods



__construct(string $appId, string $countryCode = 'US', $secretKey = null) : \Zend_Service_Amazon
Constructs a new Amazon Web Services Client
ParametersName | Type | Description |
---|
$appId | string | Developer's Amazon appid |
---|
$countryCode | string | Country code for Amazon service; may be US, UK, DE, JP, FR, CA |
---|
$secretKey | | |
---|
ReturnsThrows 


_prepareOptions(string $query, array $options, array $defaultOptions) : array
Prepare options for request
ParametersName | Type | Description |
---|
$query | string | Action to perform |
---|
$options | array | User supplied options |
---|
$defaultOptions | array | Default options |
---|
Returns 


buildRawSignature(string $baseUri, array $options) : string
staticBuild the Raw Signature Text
ParametersName | Type | Description |
---|
$baseUri | string | |
---|
$options | array | |
---|
Returns 


computeSignature(string $baseUri, string $secretKey, array $options) : string
staticCompute Signature for Authentication with Amazon Product Advertising Webservices
ParametersName | Type | Description |
---|
$baseUri | string | |
---|
$secretKey | string | |
---|
$options | array | |
---|
Returns 


itemSearch(array $options) : \Zend_Service_Amazon_ResultSet
ParametersName | Type | Description |
---|
$options | array | Options to use for the Search Query |
---|
ReturnsThrowsDetails- See
-