api suddenly not working! LxmlItemSearchPaginator
Let me thanks for the awesome API wrapper first. I've been using this package for more than one months and have not problem. However, I got the following error today: 'LxmlItemSearchPaginator' object has no attribute 'Items'
Since I already set up everything and work fine, I suspect the error is co-related to changes from amazon side (although I cannot find any particular useful info from amazon's site). If you google the message line, you will only find error report from this few days. Can anyone confirm this? And hopefully fix this? Thanks.
ps: my code is extremly similar to the demo code like this:
AWS_KEY = '...' SECRET_KEY = '...' api = API(AWS_KEY, SECRET_KEY, 'de') node = api.item_search('Books', Publisher='Galileo Press')
node object returned is a
lxml.objectified_ element. All its
attributes can be accessed the pythonic way::
total_results = node.Items.TotalResults.pyval total_pages = node.Items.TotalPages.pyval # get all books from result set and # print author and title for book in node.Items.Item: print '%s: "%s"' % (book.ItemAttributes.Author, book.ItemAttributes.Title)