Net::iTMS::Search::Advanced - Represents an advanced search of the iTunes Music Store


Net-iTMS documentation  | view source Contained in the Net-iTMS distribution.

Index


NAME

Top

Net::iTMS::Search::Advanced - Represents an advanced search of the iTunes Music Store

SYNOPSIS

Top

    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";
    }

DESCRIPTION

Top

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.

LICENSE

Top

Copyright 2004, Thomas R. Sibley.

You may use, modify, and distribute this package under the same terms as Perl itself.

AUTHOR

Top

Thomas R. Sibley, http://zulutango.org:82/

SEE ALSO

Top

Net::iTMS, Net::iTMS::Search, Net::iTMS::Song, Net::iTMS::Artist


Net-iTMS documentation  | view source Contained in the Net-iTMS distribution.