Martin 'Kingpin' Thurn > WWW-Ebay > WWW::Ebay::Session

Download:
WWW-Ebay-1.003.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.064   Source  

COPYRIGHT ^

                Copyright (C) 2002-present Martin Thurn
                         All Rights Reserved

NAME ^

WWW::Ebay::Session - log in to eBay and access account information

SYNOPSIS ^

  use WWW::Ebay::Session;
  my $oSession = new WWW::Ebay::Session('ebay-userid', 'ebay-password');

DESCRIPTION ^

Allows you to programatically log in as a particular user and fetch webpages from the eBay auction website (www.ebay.com).

AUTHOR ^

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

METHODS ^

new

Creates a new object of this type.

response

Returns the HTTP::Response object that resulted from the most recent page fetched.

signin

This method can be called if you only need the encrypted password.

fetch_any_ebay_page
any_error

Returns non-zero if there are any error messages in the object.

error

Returns a string, the most recent error message(s).

clear_errors

Removes all error messages from the object.

selling_page

Returns the HTML of the "My Selling" page for this user.

watchlist_auctions

Returns a list of WWW::Ebay::Listing objects.

Note that any time/dates returned will be U.S. Pacific time zone.

selling_auctions

Returns a list of WWW::Ebay::Listing objects representing the auctions currently active.

Note that any time/dates returned will be U.S. Pacific time zone.

sold_auctions

Returns a list of WWW::Ebay::Listing objects representing the auctions that have ended and received bids.

Note that any time/dates returned will be U.S. Pacific time zone.

unsold_auctions

Returns a list of WWW::Ebay::Listing objects representing the auctions that have ended but received no bids.

Note that any time/dates returned will be U.S. Pacific time zone.

cookie_jar
user_agent

Returns a user_agent suitable for requesting Ebay webpages. If you need special processing on your network, you can override this method. You need to set the cookie_jar to $self->cookie_jar.

syntax highlighting: