Revised: Finding Out When Your Library Has New Books You Are Interested In
By user12607856 on Apr 08, 2008
See a previous post for the background to this one.
Time to fix them. Gene Kim at Tripwire contacted me last week, and gave me some great pointers on how to use pyAWS, the replacement for pyamazon that Kun Xi is working on. Thank you!
Last Sunday, I sat down and started converting my old check_books.py script. In short, I found a bug with pyAWS and reported it. Kun Xi has fixed it and given my permission to included the modified version of ecs.py with this blog post. Thank you too! You should also check back to the pyAWS web site, to get the fix in the official 0.3 release coming soon.
Here's the new version of the check_new_books.py script. If you want to use this, you'll need to adjust the amazonAccessKey, amazonWishListID, emailAddr and libraryURL variables for your specific values.
I note that it doesn't always seem to have an Author attribute for some of the book Item's that are returned after a specific ASIN search. I need to investigate this some more. For now I just catch the AttributeError and move on.
I'll hopefully soon post revised versions of the other Python Amazon scripts I've created.