Skip to content

briandek/ApEx

Repository files navigation

ApEx(plorer)

A very simple library to grab data from Amazon Product API. Base for future personal project.

Initial howtotalktoAmzProductApi built by Oren Trutner

Sample:

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)));
	}
}

About

Simple .NET Amazon Product API library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages