Wrapper around Amazon shopping cart. Allows iterating over Items in the cart.
A wrapper class for an Amazon product.
Author. Depricated, please use authors.
| Returns: | Author (string). |
|---|
Authors.
| Returns: | Returns of list of authors |
|---|
AvailabilityAttributes.AvailabilityType
| Returns: | AvailabilityType (string). |
|---|
Creators.
Creators are not the authors. These are usually editors, translators, narrators, etc.
| Returns: | Returns a list of creators where each is a tuple containing:
|
|---|
Editorial Review.
Returns an editorial review text.
| Returns: | Editorial Review (string) |
|---|
Editorial Review.
Returns a list of all editorial reviews.
| Returns: | A list containing:
|
|---|
Features.
Returns a list of feature descriptions.
| Returns: | Returns a list of ‘ItemAttributes.Feature’ elements (strings). |
|---|
Get Attribute
Get an attribute (child elements of ‘ItemAttributes’) value.
| Parameters: | name – Attribute name (string) |
|---|---|
| Returns: | Attribute value (string) or None if not found. |
Get Attribute Details
Gets XML attributes of the product attribute. These usually contain details about the product attributes such as units.
| Parameters: | name – Attribute name (string) |
|---|---|
| Returns: | A name/value dictionary. |
Get Attributes
Get a list of attributes as a name/value dictionary.
| Parameters: | name_list – A list of attribute names (strings). |
|---|---|
| Returns: | A name/value dictionary (both names and values are strings). |
Get Parent.
Fetch parent product if it exists. Use parent_asin to check if a parent exist before fetching.
| Returns: | An instance of AmazonProduct representing the parent product. |
|---|
List of images for a response. When using lookup with RespnoseGroup ‘Images’, you’ll get a list of images. Parse them so they are returned in an easily used list format.
| Returns: | A list of ObjectifiedElement images |
|---|
Languages.
Returns a set of languages in lower-case.
| Returns: | Returns a set of languages in lower-case (strings). |
|---|
List Price.
| Returns: | A tuple containing:
|
|---|
Parent ASIN.
Can be used to test if product has a parent.
| Returns: | Parent ASIN if product has a parent. |
|---|
Get Offer Price and Currency.
Return price according to the following process:
| Returns: | A tuple containing:
|
|---|
Amazon Search.
A class providing an iterable over amazon search results.
Exception for when Amazon has throttled a request, per: http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ErrorNumbers.html