Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

WWW::Amazon::Wishlist

by monkfan (Curate)
on Nov 08, 2004 at 01:29 UTC ( #405967=modulereview: print w/replies, xml ) Need Help??

Item Description: Scrape all the details from your Amazon wishlist

Review Synopsis:

This module is a good alternative to Net::Amazon, for this specific task. Unlike Net::Amazon, which is limited up to 50 wishList entries, WWW::Amazon::Wishlist, exhaust all its content. This can be useful for web applications that uses Amazon rich database, to play around with Amazon hack ;-)

Caveat: as mentioned by the author this module is sensitive to HTML template changes.
Below is the sample code to extract wishlist:

#!/usr/bin/perl -w use strict; use WWW::Amazon::Wishlist qw(get_list COM); #version 1.4 my $my_amazon_com_id = '26Y2G652628T3'; #Your id can be found in your wishlist's (compact version) URL my @wishlist = get_list ($my_amazon_com_id, COM); for ( 0 .. $#wishlist ) { print"[$_] Title :",$wishlist[$_]->{title},"\n", " Author:",$wishlist[$_]->{author},"\n", " ASIN :",$wishlist[$_]->{asin},"\n", " Price :",$wishlist[$_]->{price},"\n", $wishlist[$_]->{type},"\n"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: modulereview [id://405967]
help
Chatterbox?
[Corion]: Ouch. I just learned something about Chrome - the "version numbers" are not really feature numbers... Chrome 62 still gets new features even though Chrome 64 is out and Chrome 65 is the dev version
[erix]: why ouch? Something to be said for that ,surely?
LanX is a dev version
[marto]: That reminds me, I made some notes somewhere with regard W::M::C, I'll get round to a PR when I've time to flesh it out
[Corion]: erix: But that makes for fun bug hunting. "What version of Chrome are you running?" "v62". "I also run v62 and it works on my machine". :-(
[Corion]: marto: Great, looking forward to the PR!
LanX wonders, do we have a rule against systematic down voting?

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-12-12 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (335 votes). Check out past polls.

    Notices?