1Net::Amazon::Property::UDsiegritCaolnMtursiibcuTtNreeadtc:kP:(eA3rm)lazDoonc:u:mPernotpaetritoyn::DigitalMusicTrack(3)
2
3
4
6 Net::Amazon::Property::DigitalMusicTrack- Class for MP3 downloads on
7 amazon.com
8
10 use Net::Amazon;
11
12 # ...
13
14 if($resp->is_success()) {
15 for my $prop ($resp->properties) {
16 print join("/", $_->artists(), " ",
17 $_->title(), " ",
18 $_->year(), " ";
19 $_->running_time(), " ";
20 }
21
23 "Net::Amazon::Property::DigitalMusicTrack" is derived from
24 "Net::Amazon::Property" and on top of the all-purpose methods the base
25 class provides, it offers specialized accessors for popular digital
26 music track parameters.
27
28 METHODS
29 artists()
30 Returns a list of the artists. There's also a artist() method which
31 just returns the first artist.
32
33 binding()
34 Returns the binding of the digital music track, such as MP3
35 Download.
36
37 genre()
38 Returns the genre as a string.
39
40 label()
41 Returns the music label as a string.
42
43 manufacturer()
44 Returns the manufacturer as a string.
45
46 publisher()
47 Returns the publisher as a string.
48
49 release_date()
50 Returns the release date as a string formatted YYYY-MM-DD.
51
52 studio()
53 Returns the studio as a string.
54
55 title()
56 Returns the title as a string.
57
58 track_sequence()
59 Returns the track sequence number of this song from its released
60 CD.
61
62 running_time()
63 Running time of this track in seconds.
64
65 new(xmlref => $xmlref)
66 Initializes an object by passing a hash of hashes structure
67 containing the XML data returned from the service. Usually, this is
68 just used by "Net::Amazon" internally to initialize objects for on
69 backcoming data.
70
71 Check out Net::Amazon::Property for all-purpose accessors, like "year",
72 "OurPrice", "ListPrice", etc.
73
75 Christopher Boumenot, <boumenot+na@gmail.com>
76
78 Copyright 2009 by Christopher Boumenot <boumenot+na@gmail.com>
79
80 This library is free software; you can redistribute it and/or modify it
81 under the same terms as Perl itself.
82
83
84
85perl v5.36.0 20N2e3t-:0:1A-m2a0zon::Property::DigitalMusicTrack(3)