Skip to content

PaulARoy/Nager.AmazonProductAdvertising

 
 

Repository files navigation

Nager.AmazonProductAdvertising

#####nuget install-package Nager.AmazonProductAdvertising

#####Example Item Search

var authentication = new AmazonAuthentication();
authentication.AccessKey = "accesskey";
authentication.SecretKey = "secretkey";

var wrapper = new AmazonWrapper(authentication, AmazonEndpoint.DE, "nagerat-21");
var result = wrapper.Search("canon eos", AmazonSearchIndex.Electronics, AmazonResponseGroup.Large);

#####Example Item Lookup

var authentication = new AmazonAuthentication();
authentication.AccessKey = "accesskey";
authentication.SecretKey = "secretkey";

var wrapper = new AmazonWrapper(authentication, AmazonEndpoint.DE, "nagerat-21");
var result = wrapper.Lookup("B00BYPW00I");

#####Example Multi Item Lookup

var authentication = new AmazonAuthentication();
authentication.AccessKey = "accesskey";
authentication.SecretKey = "secretkey";

var wrapper = new AmazonWrapper(authentication, AmazonEndpoint.DE, "nagerat-21");
var result = wrapper.Lookup(new string[] { "B00BYPW00I", "B004MKNBJG" });

#####Example CustomRequest

var authentication = new AmazonAuthentication();
authentication.AccessKey = "accesskey";
authentication.SecretKey = "secretkey";

var wrapper = new AmazonWrapper(authentication, AmazonEndpoint.DE, "nagerat-21");
var searchOperation = wrapper.ItemSearchOperation("canon eos", AmazonSearchIndex.Electronics);
searchOperation.Sort(AmazonSearchSort.Price, AmazonSearchSortOrder.Descending);
searchOperation.Skip(2);
var xml = wrapper.Request(searchQuery);

var result = XmlHelper.ParseXml<ItemSearchResponse>(xml);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 88.1%
  • JavaScript 11.3%
  • Other 0.6%