WWW::Search::Ebay::ByEndDate(3pm)

WWW::Search::Ebay::ByEndDate3pm

Backend for searching www.ebay.com, with results sorted with "items ending first"

Usage

  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"; }

Overview

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. When Date::Manip changed from version 5 to version 6, the timezone handling was completely overhauled. See the documentation of Date::Manip but good luck because it is VERY confusing and does not contain useful examples.

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. YYYY-MM-DDThh:mm:ss.

Caveats

Legalese

Copyright (C) 1998-2015 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.

Releases

12 releases since Debian 3.0 (Woody); the text changed 7 times.

  1. 3.0
  2. 3.1–5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11–13

Bugs

Please tell the author if you find any!

Author

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

From libwww-search-perl 2.51.90+~cs6.78-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.