dimanche 11 octobre 2015

How to get report IDs from Boto

My code is as follows.

    from boto.mws.connection import MWSConnection


secretKey ="a"
sellerID="a"
mwsAuthToken="a"
marketplaceID="a"
awsAccessKeyID="a"

url="http://ift.tt/1jXYPzi"
data="""POST
mws.amazonservices.com
/Products/2011-10-01
ASINList.ASIN.1=B007Z7QWQM&AWSAccessKeyId={}&Action=GetCompetitivePricingForASIN&MWSAuthToken={}&MarketplaceId={}&SellerId={}&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-10-08T02%3A56%3A50Z&Version=2011-10-01""".format( awsAccessKeyID, mwsAuthToken, marketplaceID, sellerID)

mws = MWSConnection(awsAccessKeyID,secretKey)

mws.SellerId = sellerID
mws.Merchant = sellerID
mws.MarketplaceId = marketplaceID

report = mws.get_report(ReportId='1234567890')

I am unable to find what the report IDs are, how do I find out what the report IDs are? Their docs are not beginner friendly and isn't helpful in finding how to just get reports in XML format.




Aucun commentaire:

Enregistrer un commentaire