Esempio n. 1
0
        private static SimilarityLookupResponse SimilarityLookup(AWSECommerceServicePortTypeClient client, string asin)
        {
            var request = new SimilarityLookupRequest();

            request.ItemId        = new string[] { asin };
            request.ResponseGroup = new string[] { "Large", "ItemAttributes" };

            var lookup = new SimilarityLookup();

            lookup.AWSAccessKeyId = access_key_id;
            lookup.AssociateTag   = associate_tag;
            lookup.Request        = new SimilarityLookupRequest[] { request };

            var response = client.SimilarityLookup(lookup);

            return(response);
        }
Esempio n. 2
0
        private static SimilarityLookupResponse SimilarityLookup(AWSECommerceServicePortTypeClient client, string asin)
        {
            var request = new SimilarityLookupRequest();
            request.ItemId = new string[] { asin };
            request.ResponseGroup = new string[] { "Large", "ItemAttributes" };

            var lookup = new SimilarityLookup();
            lookup.AWSAccessKeyId = access_key_id;
            lookup.AssociateTag = associate_tag;
            lookup.Request = new SimilarityLookupRequest[] { request };

            var response = client.SimilarityLookup(lookup);
            return response;
        }