简体   繁体   English

使用Amazon API在Amazon中搜索产品

[英]Search for a product in Amazon using amazon api

I am using amazon api for getting details of a product whether it exists or not. 我正在使用amazon api获取产品的详细信息,无论它是否存在。 I have created Access Key ID, Secret Access Key & Associate ID. 我已经创建了访问密钥ID,秘密访问密钥和关联ID。 I called this to get the details 我打电话来获得详细信息

http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=**KEY**&AssociateTag=**TAG**&Operation=ItemSearch&Keywords=the%20hunger%20games&SearchIndex=Books&Timestamp=2016-10-07T12:18:26Z&Signature=Signature

but I am getting 但我越来越

"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details " “我们计算出的请求签名与您提供的签名不匹配。请检查您的AWS Secret Access密钥和签名方法。有关详细信息,请参阅服务文档

What should I do to get rid of this issue.? 我应该怎么做才能摆脱这个问题? How to get signature? 如何获得签名? Also I would like to know whether I could post a product with amazon api ? 我也想知道我是否可以发布带有亚马逊API的产品?

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

I couldn't comment on your post as I'm still low on reputation, anyway it says that signature they have calculated doesn't match with yours .. this can happen 我无法对您的帖子发表评论,因为我的信誉仍然很低,无论如何它说他们计算出的签名与您的签名不匹配..可能会发生

  • When your API key and Secret Access Key doesn't match with their system 当您的API密钥和秘密访问密钥与他们的系统不匹配时
  • The signature for that particular timestamp may be expired 该特定时间戳的签名可能已过期

Try requesting a new API and secret key from their service 尝试从其服务中请求新的API和密钥

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM