Python wrapper for AWS E-Commerce Serive APIs.
Based upon pyamazon (http://www.josephson.org/projects/pyamazon/) with
efforts to meet the latest AWS specification.
The Amazon's web APIs specication is described here:
http://www.amazon.com/webservices
You need a Amazon-provided license key to use these services. Follow
the link above to get one. These functions will look in several places
(in this order) for the license key:
Function Summary |
|
BrowseNodeLookup (BrowseNodeId,
ResponseGroup,
AWSAccessKeyId)
BrowseNodeLookup in AWS |
|
buildException (els)
Build the exception from the returned DOM node |
|
buildRequest (argv)
Build the REST request URL from argv, |
|
CartAdd (Cart,
Items,
Quantities,
ResponseGroup,
AWSAccessKeyId)
CartAdd in ECS |
|
CartClear (Cart,
ResponseGroup,
AWSAccessKeyId)
CartClear in ECS |
|
CartCreate (Items,
Quantities,
ResponseGroup,
AWSAccessKeyId)
CartCreate in ECS |
|
CartGet (Cart,
ResponseGroup,
AWSAccessKeyId)
CartGet in ECS |
|
CartModify (Cart,
Items,
Actions,
ResponseGroup,
AWSAccessKeyId)
CartModify in ECS |
|
CustomerContentLookup (CustomerId,
ReviewPage,
ResponseGroup,
AWSAccessKeyId)
CustomerContentLookup in AWS |
|
CustomerContentSearch (Name,
Email,
CustomerPage,
ResponseGroup,
AWSAccessKeyId)
CustomerContentSearch in AWS |
|
getLicenseKey ()
get license key |
|
getLocale ()
get locale |
|
getVersion ()
get version |
|
Help (HelpType,
About,
ResponseGroup,
AWSAccessKeyId)
Help in AWS |
|
ItemLookup (ItemId,
IdType,
SearchIndex,
MerchantId,
Condition,
DeliveryMethod,
ISPUPostalCode,
OfferPage,
ReviewPage,
VariationPage,
ResponseGroup,
AWSAccessKeyId)
ItemLookup in ECS |
|
ItemSearch (Keywords,
SearchIndex,
Availability,
Title,
Power,
BrowseNode,
Artist,
Author,
Actor,
Director,
AudienceRating,
Manufacturer,
MusicLabel,
Composer,
Publisher,
Brand,
Conductor,
Orchestra,
TextStream,
ItemPage,
Sort,
City,
Cuisine,
Neighborhood,
MinimumPrice,
MaximumPrice,
MerchantId,
Condition,
DeliveryMethod,
ResponseGroup,
AWSAccessKeyId)
ItemSearch in ECS |
|
ListLookup (ListType,
ListId,
ProductPage,
ProductGroup,
Sort,
MerchantId,
Condition,
DeliveryMethod,
ResponseGroup,
AWSAccessKeyId)
ListLookup in ECS |
|
ListSearch (ListType,
Name,
FirstName,
LastName,
Email,
City,
State,
ListPage,
ResponseGroup,
AWSAccessKeyId)
ListSearch in ECS |
|
query (url)
Send the query url and return the DOM |
|
rawIterator (XMLSearch,
arguments,
kwItems,
plugins)
Return list of objects |
|
rawObject (XMLSearch,
arguments,
kwItem,
plugins)
Return a unique object |
|
SellerListingLookup (SellerId,
Id,
IdType,
ResponseGroup,
AWSAccessKeyId)
SellerListingLookup in AWS |
|
SellerListingSearch (SellerId,
Title,
Sort,
ListingPage,
OfferStatus,
ResponseGroup,
AWSAccessKeyId)
SellerListingSearch in AWS |
|
SellerLookup (Sellers,
ResponseGroup,
AWSAccessKeyId)
SellerLookup in AWS |
|
setLicenseKey (license_key)
set license key |
|
setLocale (locale)
set locale |
|
SimilarityLookup (ItemId,
SimilarityType,
MerchantId,
Condition,
DeliveryMethod,
ResponseGroup,
AWSAccessKeyId)
SimilarityLookup in ECS |
|
TransactionLookup (TransactionId,
ResponseGroup,
AWSAccessKeyId)
TransactionLookup in AWS |
|
unmarshal (element,
plugins,
rc)
Return the Bag object with attributes populated using DOM element
element: the root of the DOM element we are interested in
plugins: callback functions to fine-tune the object structure
rc: parent object, used in the recursive call
This core function is inspired by Mark Pilgrim (f8dy@diveintomark.org)
with some enhancement. |
|
XMLBrowseNodeLookup (BrowseNodeId,
ResponseGroup,
AWSAccessKeyId)
DOM representation of BrowseNodeLookup in AWS |
|
XMLCartAdd (Cart,
Items,
Quantities,
ResponseGroup,
AWSAccessKeyId)
DOM representation of CartAdd in ECS |
|
XMLCartClear (Cart,
ResponseGroup,
AWSAccessKeyId)
DOM representation of CartClear in ECS |
|
XMLCartCreate (Items,
Quantities,
ResponseGroup,
AWSAccessKeyId)
DOM representation of CartCreate in ECS |
|
XMLCartGet (Cart,
ResponseGroup,
AWSAccessKeyId)
DOM representation of CartGet in ECS |
|
XMLCartModify (Cart,
Items,
Actions,
ResponseGroup,
AWSAccessKeyId)
DOM representation of CartModify in ECS |
|
XMLCustomerContentLookup (CustomerId,
ReviewPage,
ResponseGroup,
AWSAccessKeyId)
DOM representation of CustomerContentLookup in AWS |
|
XMLCustomerContentSearch (Name,
Email,
CustomerPage,
ResponseGroup,
AWSAccessKeyId)
DOM representation of CustomerContentSearch in AWS |
|
XMLHelp (HelpType,
About,
ResponseGroup,
AWSAccessKeyId)
DOM representation of Help in AWS |
|
XMLItemLookup (ItemId,
IdType,
SearchIndex,
MerchantId,
Condition,
DeliveryMethod,
ISPUPostalCode,
OfferPage,
ReviewPage,
VariationPage,
ResponseGroup,
AWSAccessKeyId)
DOM representation of ItemLookup in ECS |
|
XMLItemSearch (Keywords,
SearchIndex,
Availability,
Title,
Power,
BrowseNode,
Artist,
Author,
Actor,
Director,
AudienceRating,
Manufacturer,
MusicLabel,
Composer,
Publisher,
Brand,
Conductor,
Orchestra,
TextStream,
ItemPage,
Sort,
City,
Cuisine,
Neighborhood,
MinimumPrice,
MaximumPrice,
MerchantId,
Condition,
DeliveryMethod,
ResponseGroup,
AWSAccessKeyId)
DOM representation of ItemSearch in ECS |
|
XMLListLookup (ListType,
ListId,
ProductPage,
ProductGroup,
Sort,
MerchantId,
Condition,
DeliveryMethod,
ResponseGroup,
AWSAccessKeyId)
DOM representation of ListLookup in ECS |
|
XMLListSearch (ListType,
Name,
FirstName,
LastName,
Email,
City,
State,
ListPage,
ResponseGroup,
AWSAccessKeyId)
DOM representation of ListSearch in ECS |
|
XMLSellerListingLookup (SellerId,
Id,
IdType,
ResponseGroup,
AWSAccessKeyId)
DOM representation of SellerListingLookup in AWS |
|
XMLSellerListingSearch (SellerId,
Title,
Sort,
ListingPage,
OfferStatus,
ResponseGroup,
AWSAccessKeyId)
DOM representation of SellerListingSearch in AWS |
|
XMLSellerLookup (Sellers,
ResponseGroup,
AWSAccessKeyId)
DOM representation of SellerLookup in AWS |
|
XMLSimilarityLookup (ItemId,
SimilarityType,
MerchantId,
Condition,
DeliveryMethod,
ResponseGroup,
AWSAccessKeyId)
DOM representation of SimilarityLookup in ECS |
|
XMLTransactionLookup (TransactionId,
ResponseGroup,
AWSAccessKeyId)
DOM representation of TransactionLookup in AWS |