Amazon Product Advertising API C#

后端 未结 3 1706
情书的邮戳
情书的邮戳 2020-12-31 23:21

Can somebody tell me C# excample of using Amazon Product Advertising API, for example to lookup item. All i found is not working now because of changes.

Thanks!

3条回答
  •  囚心锁ツ
    2020-12-31 23:46

    You can use the following nuget package.

    PM> Install-Package Nager.AmazonProductAdvertising
    

    Search example

    var authentication = new AmazonAuthentication();
    authentication.AccessKey = "accesskey";
    authentication.SecretKey = "secretkey";
    
    var client = new AmazonProductAdvertisingClient(authentication, AmazonEndpoint.DE);
    var result = await client.SearchItemsAsync("canon eos");
    

提交回复
热议问题