Martin 'Kingpin' Thurn > WWW-Search-Ebay-3.026 > WWW::Search::Ebay::ByEndDate

Download:
WWW-Search-Ebay-3.026.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 2.032   Source   Latest Release: WWW-Search-Ebay-3.037

NAME ^

WWW::Search::Ebay::ByEndDate - backend for searching www.ebay.com, with results sorted with "items ending first"

SYNOPSIS ^

  use WWW::Search;
  my $oSearch = new WWW::Search('Ebay::ByEndDate');
  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 calling program must ensure that the Date::Manip module is able to determine the local timezone. The easiest way is to set the environment variable TZ, or by calling &Date_Init(). See the documentation of Date::Manip.

The search is done against CURRENT running auctions only.

The query is applied to TITLES only.

The results are ordered auctions ending soon first (order of increasing auction ending 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).

In the WWW::Search::Result objects, the change_date field contains the auction ending date & time in ISO 8601 format; i.e. year-month-dayThour:minute:second.

SEE ALSO ^

To make new back-ends, see WWW::Search.

CAVEATS ^

BUGS ^

Please tell the author if you find any!

AUTHOR ^

Martin 'Kingpin' Thurn, mthurn at cpan.org, http://tinyurl.com/nn67z.

LEGALESE ^

Copyright (C) 1998-2009 Martin 'Kingpin' Thurn

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.

syntax highlighting: