Amazon Product Advertising API

REST請求

有了API KEY 與Associates ID 後 就可以開始request

REST請求

http://docs.aws.amazon.com/AWSECommerceService/latest/DG/CHAP_MakingRequestsandUnderstandingResponses.html

以us地區為例 request 網址為 US http://webservices.amazon.com/onca/xml

https://webservices.amazon.com/onca/xml

http://docs.aws.amazon.com/AWSECommerceService/latest/DG/SummaryofA2SOperations.html

最最常用的就兩類:

ItemSearch:查找產品等信息 http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ItemSearch.html

比如,給定某個關鍵字keyword,查找出一堆相匹配的產品 ItemLookup:已經某特定的產品,想要查詢該產品的更多相關的信息 http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ItemLookup.html

比如已經該產品的ASIN,想要知道該產品的賣家的信息,等等。 相對不那麼常用的有:

BrowseNodeLookup:用於實現實現產品分類的瀏覽和查詢 http://docs.aws.amazon.com/AWSECommerceService/latest/DG/BrowseNodeLookup.html

類似於模擬如下動作:你用瀏覽器打開Amazon主頁,然後針對那麼多的產品分類,一級一級的,去瀏覽不同分類下面的產品

SimilarityLookup:給定某個產品,去查詢與其相似的產品 http://docs.aws.amazon.com/AWSECommerceService/latest/DG/SimilarityLookup.html

和購物車相關的API:用於模擬用戶購買產品,加入購物車,支付等等動作

CartCreate CartAdd CartModify CartClear CartGet