【问题标题】:Using AWS to do product lookup by UPC to get the products ASIN使用 AWS 通过 UPC 进行产品查找以获取产品 ASIN
【发布时间】:2011-05-04 16:57:56
【问题描述】:

我现在的任务是找出我的公司可以通过 UPC 进行产品搜索的方法,以便我们可以获取 ASIN(亚马逊序列号)。我希望有人能引导我朝着正确的方向发展我可以使用什么 Amazon API 来做到这一点。我认为他们会有一些允许产品搜索的 API。

我也希望在 C#/.NET 中实现它。

感谢您的帮助! -刘易斯

【问题讨论】:

    标签: c# amazon-web-services amazon


    【解决方案1】:

    您正在寻找 Product Advertising API,更具体地说,是 IdType 为 UPC 的 ItemLookup API。有示例 C#code available here

    请务必阅读 API 的许可条款,因为它们非常严格。

    【讨论】:

      【解决方案2】:

      您可以使用这个库Nager.AmazonProductAdvertising,您可以使用 nuget 轻松安装它。该库还支持 .NET Standard 2.0。

      PM> Install-Package Nager.AmazonProductAdvertising
      

      示例代码:

      var authentication = new AmazonAuthentication();
      authentication.AccessKey = "accesskey";
      authentication.SecretKey = "secretkey";
      
      var wrapper = new AmazonWrapper(authentication, AmazonEndpoint.US);
      //The Lord of the Rings
      var result = wrapper.Lookup("978-0261102385");
      

      【讨论】:

        【解决方案3】:

        您只需将您的 UPC 粘贴到亚马逊的搜索栏中并点击 Go,您就会得到结果,之后您必须将商品描述与您给定的产品描述相匹配,匹配的就是您正确的产品,有时我们会找到更多一个 SKU 的一个 ASIN

        问候,

        沙门

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2013-02-10
          • 1970-01-01
          • 1970-01-01
          • 2018-12-02
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多