Skip to content

Instantly share code, notes, and snippets.

@jz5
Created May 22, 2014 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jz5/be8a071681206529e227 to your computer and use it in GitHub Desktop.
Save jz5/be8a071681206529e227 to your computer and use it in GitHub Desktop.
diff --git a/Sample/src/ItemLookupSample.cs b/Sample/src/ItemLookupSample.cs
index 9d8212b..b36fdc8 100644
--- a/Sample/src/ItemLookupSample.cs
+++ b/Sample/src/ItemLookupSample.cs
@@ -32,15 +32,16 @@ namespace AmazonProductAdvtApi
class ItemLookupSample
{
private const string MY_AWS_ACCESS_KEY_ID = "YOUR_AWS_ACCESS_KEY_ID";
- private const string MY_AWS_SECRET_KEY = "YOUR_AWS_SECRET_KEY";
+ private const string MY_AWS_SECRET_KEY = "YOUR_AWS_SECRET_KEY";
private const string DESTINATION = "ecs.amazonaws.com";
-
- private const string NAMESPACE = "http://webservices.amazon.com/AWSECommerceService/2009-03-31";
+ private const string ASSOCIATE_TAG = "YOUR_ASSOCIATE_TAG";
+
+ private const string NAMESPACE = "http://webservices.amazon.com/AWSECommerceService/2011-08-01";
private const string ITEM_ID = "0545010225";
public static void Main()
{
- SignedRequestHelper helper = new SignedRequestHelper(MY_AWS_ACCESS_KEY_ID, MY_AWS_SECRET_KEY, DESTINATION);
+ SignedRequestHelper helper = new SignedRequestHelper(MY_AWS_ACCESS_KEY_ID, MY_AWS_SECRET_KEY, DESTINATION, ASSOCIATE_TAG);
/*
* The helper supports two forms of requests - dictionary form and query string form.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment