<commit_before>#AmazonItemLookup: Easy item lookup by ASIN from Amazon Product Advertising API
by [<NAME>](http://nathan.craddock.org/ "<NAME> - Software Developer")



##Set up a connection
		AwsProductApi api = new AwsProductApi(new ProductApiConnectionInfo
		{
			AWSAccessKey = config.AWSAccessKey,
			AWSSecretKey = config.AWSSecretKey,
			AWSAssociateTag = config.AWSAssociateTag
		});

##Retrieve an item from Amazon by ASIN

		AwsItem item = api.LookupByAsin(ASIN);

##The AwsItem class has:

- ASIN
- DetailPageURL
- Links
- SalesRank
- ImageSets
- ItemAttributes
- Reviews
- Similar Product Links
- ListPrice, OfferPrice, LowestOfferPrice 
- GetLowestPrice()
- GetImageUrl(Type)

##Create a cart on Amazon with 2 items in it and transfer the user to the purchase URL
		
		AwsCart cart = api.CreateCart(new CartItem { Asin = "B0071YIFJ6" }, new CartItem { Asin = "B001H1SVO8" });


* * *
<commit_msg>Another readme update.<commit_after>#AmazonItemLookup: Easy item lookup by ASIN from Amazon Product Advertising API
by [<NAME>](http://nathan.craddock.org/ "<NAME> - Software Developer")



##Set up a connection
		AwsProductApi api = new AwsProductApi(new ProductApiConnectionInfo
		{
			AWSAccessKey = config.AWSAccessKey,
			AWSSecretKey = config.AWSSecretKey,
			AWSAssociateTag = config.AWSAssociateTag
		});

##Retrieve an item from Amazon by ASIN

		AwsItem item = api.LookupByAsin(ASIN);

##Create a cart on Amazon with 2 items in it and transfer the user to the purchase URL
		
		AwsCart cart = api.CreateCart(new CartItem { Asin = "B0071YIFJ6" }, new CartItem { Asin = "B001H1SVO8" });


* * *

{'fraction_non_alphanumeric': 0.09491315136476426, 'fraction_numerical': 0.013647642679900745, 'mean_word_length': 4.305921052631579, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2907889', 'n_tokens_mistral': 595, 'n_tokens_neox': 532, 'n_words': 159}