Net::Amazon::Property::Software - Class for software on amazon.com
use Net::Amazon;
# ...
if($resp->is_success()) {
for my $prop ($resp->properties) {
print join("/", $prop->platforms()), " ",
$prop->title(), " ",
$prop->publisher(), "\n";
}
"Net::Amazon::Property::Software" 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.
- 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 software's media type as a string.
- label()
- Returns the software's label type as a string.
- studio()
- Returns the software's studio type as a string.
- brand()
- Returns the software's brand type as a string.
- manufacturer()
- Returns the software's manufacturer type as a string.
- esrb_rating()
- Returns the software's ESRB age rating type as a string.
- media()
- Returns the software's media type as a string.
- nummedia()
- Returns the software's number of media (number of discs) 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.
Christopher Boumenot, <boumenot@gmail.com>
Copyright 2006 by Christopher Bomenot <boumenot@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.