NAME
WWW::Search::Ebay - backend for searching www.ebay.com
SYNOPSIS
use WWW::Search;
my $oSearch = new WWW::Search('Ebay');
my $sQuery = WWW::Search::escape_query("C-10 carded Yakface");
$oSearch->native_query($sQuery);
while (my $oResult = $oSearch->next_result())
{ print $oResult->url, "\n"; }
DESCRIPTION
This class is a Ebay specialization of WWW::Search. It handles making and interpreting Ebay searches http://www.ebay.com.
This class exports no public interface; all interaction should be done through WWW::Search objects.
NOTES
The search is done against CURRENT running AUCTIONS only. (NOT complete auctions, NOT eBay Stores items, NOT Buy-It-Now only items.) (If you want to search eBay Stores, use the WWW::Search::Ebay::Stores module.)
The query is applied to TITLES only.
The results are ordered youngest auctions first (reverse order of auction listing date).
In the resulting WWW::Search::Result objects, the description field consists of a human-readable combination (joined with semicolon-space) of the Item Number; number of bids; and high bid amount (or starting bid amount).
OPTIONS
- Search descriptions
-
To search titles and descriptions, add 'srchdesc' => 'y' to the query options:
$oSearch->native_query($sQuery, { srchdesc => 'y' } );
SEE ALSO
To make new back-ends, see WWW::Search.
CAVEATS
BUGS
Please tell the author if you find any!
AUTHOR
WWW::Search::Ebay
was written by Martin Thurn (mthurn@cpan.org).
WWW::Search::Ebay
is maintained by Martin Thurn (mthurn@cpan.org).
LEGALESE
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.