Net::iTMS::Search::Advanced Perl module represents an advanced search of the iTunes Music Store.
SYNOPSIS
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.
Methods
new($itms, { artist => "U2" })
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.
Returns a blessed hashref (object) for Net::iTMS::Search::Advanced.
query
Returns the query hashref the search is for.
Product's homepage
Requirements:
· Perl