Luke,
I was curious how this was going.

I did find this:
http://jjinux.blogspot.com/2009/06/python-amazon-product-advertising-api.html

import time
import urllib

from boto.connection import AWSQueryConnection

AWS_ACCESS_KEY_ID = '...'
AWS_ASSOCIATE_TAG = '...'
AWS_SECRET_ACCESS_KEY = '...'


search_index = 'All'
keywords = 'pink'
aws_conn = AWSQueryConnection(
    aws_access_key_id=AWS_ACCESS_KEY_ID,
    aws_secret_access_key=AWS_SECRET_ACCESS_KEY, is_secure=False,
    host='ecs.amazonaws.com')
aws_conn.SignatureVersion = '2'
params = dict(
    Service='AWSECommerceService',
    Version='2008-08-19',
    SignatureVersion=aws_conn.SignatureVersion,
    AWSAccessKeyId=AWS_ACCESS_KEY_ID,
    AssociateTag=AWS_ASSOCIATE_TAG,
    Operation='ItemSearch',
    SearchIndex=search_index,
    Keywords=keywords,
    ResponseGroup='ItemAttributes,Images',
    Order='salesrank',
    Timestamp=time.strftime("%Y-%m-%dT%H:%M:%S", time.gmtime()))
verb = 'GET'
path = '/onca/xml'
qs, signature = aws_conn.get_signature(params, verb, path)
qs = path + '?' + qs + '&Signature=' + urllib.quote(signature)
print "verb:", verb, "qs:", qs
response = aws_conn._mexe(verb, qs, None, headers={})
print response.read()



On Jul 17, 8:34 am, Luke Seelenbinder <lukeq...@gmail.com> wrote:
> I'm working on a django project right now that uses the Amazon Product
> Advertising API. I was using pyaws, but it is quite outdated and won't
> be useful for the changes coming in the next month.
>
> My first question is whether you know of any other python library for
> it.
> Second question, is there anybody willing to help me develop a new
> python abstraction for the api.
>
> I'm going to get started today with a new python api, if there is
> anybody willing to help, drop me an email (lukeqsee at gmail), or just
> reply to this message.
>
> Thanks,
> Luke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to