Net::iTMS::Search::Advanced - Represents an advanced search of the iTunes Music Store
use Net::iTMS::Search::Advanced; my $search = Net::iTMS::Search::Advanced->new($iTMS, { artist => 'Elliott Smith', album => 'From a Basement on the Hill', song => 'distorted', }); for my $album ($search->albums) { print $album->title, " by ", $album->artist->name, "\n"; }
Net::iTMS::Search::Advanced represents an advanced search of the iTMS and encapsulates the associated results. It is a subclass of Net::iTMS::Search; only changes are noted in this doc. See the doc for Net::iTMS::Search for the other methods available.
The first argument must be an instance of Net::iTMS, the second a hashref containing at least one of the keys artist, album, song, or composer.
artist
album
song
composer
Returns a blessed hashref (object) for Net::iTMS::Search::Advanced.
Returns the query hashref the search is for.
Copyright 2004, Thomas R. Sibley.
You may use, modify, and distribute this package under the same terms as Perl itself.
Thomas R. Sibley, http://zulutango.org:82/
Net::iTMS, Net::iTMS::Search, Net::iTMS::Song, Net::iTMS::Artist
To install Net::iTMS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::iTMS
CPAN shell
perl -MCPAN -e shell install Net::iTMS
For more information on module installation, please visit the detailed CPAN module installation guide.