NAME¶
Net::Amazon::Property::VideoGames - Class for software on amazon.com
SYNOPSIS¶
use Net::Amazon;
# ...
if($resp->is_success()) {
for my $prop ($resp->properties) {
print join("/", $prop->platforms()), " ",
$prop->title(), " ",
$prop->publisher(), "\n";
}
DESCRIPTION¶
"Net::Amazon::Property::VideoGames" is derived from
"Net::Amazon::Property" and on top of the all-purpose methods the
base class provides, it offers specialized accessors for software parameters.
METHODS¶
- platforms()
- Returns a list of the software's platforms. There's also a
"platform()" method which just returns the first
platform.
- publisher()
- Returns the software's publishing company as a string.
- title()
- Returns the software's title as a string.
- ean()
- Returns the software's EAN number.
- media()
- Returns the video games's media type as a string.
- label()
- Returns the video games's label type as a string.
- studio()
- Returns the video games's studio type as a string.
- brand()
- Returns the video games's brand type as a string.
- manufacturer()
- Returns the video games's manufacturer type as a
string.
- esrb_rating()
- Returns the video games's ESRB age rating type as a
string.
- media()
- Returns the video games's media type as a string.
- nummedia()
- Returns the video games's number of media (number of discs)
as a string.
- upc()
- Returns the video games's UPC as a string.
- new(xmlref => $xmlref)
- Initializes an object by passing a hash of hashes structure
containing the XML data returned from the service. Usually, this is just
used by "Net::Amazon" internally to initialize objects for on
backcoming data.
Check out Net::Amazon::Property for all-purpose accessors, like
"year", "OurPrice", "ListPrice", etc.
AUTHOR¶
Christopher Boumenot, <boumenot@gmail.com>
COPYRIGHT AND LICENSE¶
Copyright 2006 by Christopher Boumenot <lt>boumenot@gmail.com>
This library is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.