Net::iTMS::SearchNet::iTMS::Search is a Perl module that represents a simple search of the iTunes Music Store. | |
Download |
Net::iTMS::Search Ranking & Summary
Advertisement
- 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::Search Tags
Net::iTMS::Search Description
Net::iTMS::Search is a Perl module that represents a simple search of the iTunes Music Store. Net::iTMS::Search is a Perl module that represents a simple search of the iTunes Music Store.SYNOPSIS use Net::iTMS::Search; my $search = Net::iTMS::Search->new($iTMS, $query); for my $album ($search->albums) { print $album->title, " by ", $album->artist->name, "n"; }Net::iTMS::Search represents a search of the iTMS and encapsulates the associated data. PLEASE NOTE: This simple search is currently broken due to unresolvable changes in the iTMS. Please use Net::iTMS::Search::Advanced, which works.Methodsnew($itms, $query)The first argument must be an instance of Net::iTMS, the second a query string.Returns a blessed hashref (object) for Net::iTMS::Search.queryReturns the query string the search is for.songsReturns an array or arrayref (depending on context) of Net::iTMS::Song objects for the songs found.albumsReturns an array or arrayref (depending on context) of Net::iTMS::Album objects for the albums found.NB: Due to an apparent limitation of the simple search in the iTMS, the maximum number of albums returned will be four. Requirements: · Perl
Net::iTMS::Search Related Software