是否有亚马逊的产品API向上最新的C#示例? [英] Is there an up-to-date c# sample for the Amazon product API?

查看:897
本文介绍了是否有亚马逊的产品API向上最新的C#示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图创建一个小的应用程序,与亚马逊的产品API(获取物品的价格,等等)

I'm trying to create a small application that interacts with the Product API of Amazon (get prices of articles, and so on)

不幸的是,与亚马逊WCF服务的交互到目前为止,我发现所有的C#示例是过时的。
我知道,亚马逊决定,每个服务调用必须以个人accessKeyId和SecretKey的,因此所有的最小code的样本是2009年年龄比(我认为他们做了09年的变化)是无用的签署。官方的亚马逊文档是没用的,我为好,因为它没有提供必要的信息。

Unfortunately all the C# samples for the interaction with the Amazon WCF service I've found so far are outdated. I know that Amazon decided that each service call must be signed with a personal accessKeyId and secretKey, so all minimal code samples that are older than 2009 (I think they made the change in 2009) are useless. The official Amazon documentation is useless to me as well, as it does not provide necessary information.

我也一派2教程如何访问API,并按照在任何搜索tearm或干脆为空任何搜索结果,这些结果仅

I've also googled two tutorial on how to access the API, and following these only result in no search results for any search tearm or simply null.

是否有先进的日期(WORKING !!)最少的样品地方可用?

Is there an up-to-date (working!!) minimal sample somewhere available?

推荐答案

所以,我终于找到了解决方案的基础上,在这里发表评论:<一href=\"http://www.falconwebtech.com/post/2010/06/14/Using-WCF-and-SOAP-to-Send-Amazon-Product-Advertising-API-Signed-Requests.aspx\" rel=\"nofollow\">http://www.falconwebtech.com/post/2010/06/14/Using-WCF-and-SOAP-to-Send-Amazon-Product-Advertising-API-Signed-Requests.aspx
这也是URL,在这里我下载了code。我在工作。

So, I finally found the solution, based on a comment posted here: http://www.falconwebtech.com/post/2010/06/14/Using-WCF-and-SOAP-to-Send-Amazon-Product-Advertising-API-Signed-Requests.aspx This is also the URL, where I downloaded the code I made working.

我没有通过我的你的唯一合伙人ID,我甚至没有了,直到刚才。你可以在这里得到它: https://affiliate-program.amazon.com/

I didn't pass my "Your unique Associates ID", which I didn't even had until just now. You can get it here: https://affiliate-program.amazon.com/

添加

itemSearch.AssociateTag = "YourAssociateID";

amazonClient.ItemSearch(itemSearch)

工程就像一个魅力

这篇关于是否有亚马逊的产品API向上最新的C#示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆