Net::iTMS::Album

Net::iTMS::Album Perl module represents an album in the iTunes Music Store.
Download

Net::iTMS::Album Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Thomas R. Sibley
  • Publisher web site:
  • http://search.cpan.org/~tsibley/Net-iTMS-0.15/lib/Net/iTMS/Song.pm

Net::iTMS::Album Tags


Net::iTMS::Album Description

Net::iTMS::Album Perl module represents an album in the iTunes Music Store. Net::iTMS::Album Perl module represents an album in the iTunes Music Store.SYNOPSIS use Net::iTMS::Album; my $album = Net::iTMS::Album->new($iTMS, $id); print "Album: ", $album->title, "n"; # $track will be a Net::iTMS::Song object for my $track ($album->tracks) { # also $album->songs print "t ", $track->number, ": ", $track->title, "n"; }Net::iTMS::Album represents an album in the iTMS and encapsulates the associated data. If a piece of information hasn't been fetched from the iTMS, it will transparently fetch and store it for later use before returning.If any method, excepting id, record_label, and thumb, is called, the information for the others will be fetched in the same request. This means, for these methods, the first call to one will have a time hit for the HTTP request, but subsequent calls won't.Methodsnew($itms, $albumId)The first argument must be an instance of Net::iTMS, the second an iTMS album ID.Returns a blessed hashref (object) for Net::iTMS::Album.idReturns the ID of the album (albumId).title nameReturns the title of the album.artistReturns a Net::iTMS::Artist object for the album's artist.genreReturns a Net::iTMS::Genre object for the album's genre.coverReturns a hashref with the keys url, width, and height which are for the album's cover.thumbReturns a hashref with the keys url, width, and height which are for the thumbnail of the album's cover (if available).tracks songsReturns an array or arrayref (depending on context) of Net::iTMS::Song objects representing the tracklist of the album (in order of track number).total_songsReturns the total number of songs on the album available from the iTMS.releasedReturns the release date of the album (if available).copyrightReturns the copyright information for the album (if available).pathReturns an arrayref of hashrefs representing the album's "path" in the iTMS. The hashrefs contain the name of the node in the path and the iTMS URL of that node. Requirements: · Perl


Net::iTMS::Album Related Software