Error on example code

Anonymous avatarAnonymous created an issue
>>> from django.conf import settings
>>> from amazonproduct import API
>>> api = API(settings.AWS_KEY, settings.SECRET_KEY, 'us')
<string>:1: DeprecationWarning: Please use a config file!
>>> node = api.item_search('Books', Publisher='Galileo Press')
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/Users/cccccaaa/Desktop/django_projects/motloh/.env/lib/python2.6/site-packages/amazonproduct/api.py", line 431, in item_search
    return paginator(self.call, **operators)
  File "/Users/cccccaaa/Desktop/django_projects/motloh/.env/lib/python2.6/site-packages/amazonproduct/processors/__init__.py", line 93, in __init__
    self._first_page = self.page(1)
  File "/Users/cccccaaa/Desktop/django_projects/motloh/.env/lib/python2.6/site-packages/amazonproduct/processors/__init__.py", line 122, in page
    root = self.fun(*self.args, **self.kwargs)
  File "/Users/cccccaaa/Desktop/django_projects/motloh/.env/lib/python2.6/site-packages/amazonproduct/api.py", line 321, in call
    return self._parse(fp)
  File "/Users/cccccaaa/Desktop/django_projects/motloh/.env/lib/python2.6/site-packages/amazonproduct/api.py", line 274, in _parse
    raise MissingParameters(m.group('parameter'))
MissingParameters: AssociateTag

Comments (2)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.