NAME

shopbot.pl - Shopping Agent

SYNOPSIS

% shopbot.pl list

% shopbot.pl newdriver COM::Shhhhhh

% shopbot.pl query drivers

DESCRIPTION

It is a script for you to list existent shopbot drivers, generate driver's template, or go grab price info.

USAGE

List drivers in your library paths

% shopbot.pl list

Generate driver template

% shopbot.pl newdriver driver_name [ dest_dir ]

It creates a driver template, and then you can edit the newborn file to make a new driver. By default, it creates the new driver at current directory. Please specify another destination directory if you need it to be somewhere else.

Example,

% shopbot.pl newdriver COM::Shhhhhh ~/.shopbot_drivers/

It creates a driver template WWW/ShopBot/COM/Shhhhhh.pm in your home's .shopbot_drivers

ACTION!

Of course, you can use it to get products' data, and obtained data will be dumped to STDOUT with Data::Dumper.

% shopbot.pl action query drivers

Example:

% shopbot.pl action 'shhhhhh dot com' TW::answer168 COM::froogle

SEE ALSO

WWW::ShopBot, WWW::ShopBot::Driver