amazon web services工作示例
我已经搜索了高低,试图让产品广告API工作 – 我已经尝试过这些论坛和互联网的许多例子,但它不起作用。 有一些关于修改WSDL的讨论,但也不起作用。
这是我去过的地方:
https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html
http://aws.amazon.com/code/Product-Advertising-API/3941
http://aws.amazon.com/code/Product-Advertising-API/2609
http://flyingpies.wordpress.com/2009/08/13/signing-amazon-product-advertising-api-cwcf-part-2/ *
*这是最好的教程,直到AWS改变WSDL,没有关于如何部署的例子 – 我实际上开始怀疑他们是否在发布之前测试他们的东西!
谁能请我指出一个有效的C#示例?
编辑
我也知道发布的信息
https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html
这意味着我知道AssociateTag现在必须包含在每个搜索等中。
我最近有一个类似的问题,我使用上面提到的最后一个链接来创建ac#应用程序但是由于新的realease停止工作,我无法解决它。
我下载了这个例子:
http://aws.amazon.com/code/Product-Advertising-API/2481
并做了一些小改动,让它全部正常工作……
将名称空间更改为:
http://webservices.amazon.com/AWSECommerceService/2011-08-01
贯穿所有代码……
我想我可能已经在其他几个地方更新了代码,如果发生这些错误可以帮助你
目前没有documentataion。
我被迫使用其他更有据可查的技术,例如Google Books API。
当亚马逊获得一些工作系统的文档时,我会将其作为答案并将其标记为当前文档。
您好,您可以使用此库Nager.AmazonProductAdvertising您可以使用ISBN-10或ISBN-13加载书籍信息
的NuGet
PM> install-package Nager.AmazonProductAdvertising
例
var authentication = new AmazonAuthentication(); authentication.AccessKey = "accesskey"; authentication.SecretKey = "secretkey"; var wrapper = new AmazonWrapper(authentication, AmazonEndpoint.US, "AssociateTag"); //Harry Potter and the Cursed Child var result = wrapper.Lookup("978-1338099133");