amazon-advertising-api

Amazon Product Advertising API (ItemSearch with ItemPage)

Amazon Product Advertising API (ItemSearch with ItemPage) Question: I wrote the following code: from hashlib import sha256 from base64 import b64encode import hmac import urllib from time import strftime, gmtime url = ‘http://ecs.amazonaws.com/onca/xml’ AWSAccessKeyId = amazon_settings.amazon_access_key_id AssociateTag = amazon_settings.amazon_associate_tag Keywords = urllib.quote_plus(‘Potter’) Operation = ‘ItemSearch’ SearchIndex = ‘Books’ Service = ‘AWSECommerceService’ Timestamp = urllib.quote_plus(strftime(“%Y-%m-%dT%H:%M:%S.000Z”, gmtime())) …

Total answers: 2

What is wrong with this Amazon Product Advertising API query

What is wrong with this Amazon Product Advertising API query Question: I am keep getting the 400 Bad Request Error. Please can any one tell me what i am doing wrong here?? I don’t want to use libraries. from requestmanager import RequestManager from datetime import datetime from urllib import quote dt = quote(datetime.strftime(datetime.utcnow(), ‘%Y-%m-%d %H:%M:%S’)) …

Total answers: 1