A very simple library to grab data from Amazon Product API. Base for future personal project.
Initial howtotalktoAmzProductApi built by Oren Trutner
class Program
{
static void Main(string[] args)
{
AmazonProductExplorer apEx = new AmazonProductExplorer("AccessKeyID", "SecretKey", "AssociateTag");
string[] responseGroup = new string[] { "ItemAttributes", "Small" };
ItemSearchResponse response = apEx.SearchItemByTitle("Books", "WCF", responseGroup);
var responseList = response.Items.SelectMany(i => i.Item);
foreach (Item item in responseList)
{
Console.WriteLine(item.ASIN + " : " + item.ItemAttributes.Title);
}
Console.WriteLine("Total Results : " + response.Items.Sum(i => Int32.Parse(i.TotalResults)));
}
}