Martin 'Kingpin' Thurn > WWW-Amazon-Wishlist-2.006 > Programs/amazonwish

Download:
WWW-Amazon-Wishlist-2.006.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: WWW-Amazon-Wishlist-2.011

DESCRIPTION ^

amazonwish - goes and grabs your amazon.(co.uk|com) wishlist and totals it up for you

USAGE ^

-uk : get values from amazon.co.uk (default is .com)

-id : your amazon wish list id (it's the last bit of the URL after /wishlist/)

-force : don't look up values from the resource file

-save : save these values to the resource files

-help : print this message

-verbose : print out all the titles, authors, price and type as well as totalling it all up

the first time you run the script you must supply the values but after that it will save them in .amazon_wish in your home directory.

You can overide the resource file by using -force option or the -save option (which will save the new values into the resource file).

So ...

% amazonwish -uk -id yakyakyak

£100.00

% amazonwish

£100.00

% amazonwish -id barbarbar -force

$111.00

% amazonwish

£100.00

% amazonwish -id barbarbar -save\n

$111.00

% amazonwish

$111.00

FINDING YOUR AMAZON ID ^

The best way to do this is to search for your own wishlist in the search tools.

Searching for mine (simon@twoshortplanks.com) on amazon.com takes me to the URL

   http://www.amazon.com/exec/obidos/wishlist/2EAJG83WS7YZM/ 

there's some more cruft after that last string of numbers and letters but it's the

   2EAJG83WS7YZM

bit that's important.

Doing the same for amazon.co.uk is just as easy.

SHOWING YOUR APPRECIATION ^

There was a thread on london.pm mailing list about working in a vacumn - that it was a bit depressing to keep writing modules but never get any feedback. So, if you use and like this module then please send me an email and make my day. All it takes is a few little bytes.

Either that or you have the adress of my Amazon Wishlist, it's huge, buy something for me off it :)

COPYING ^

Copyright (c) 2001 Simon Wistow

Distributed under the same terms as Perl itself.

This software is under no warranty and will probably destroy your wish list, kill your friends, burn your house and bring about the apocalypse

AUTHOR ^

Simon Wistow <simon@thegestalt.org>

syntax highlighting: