Thomas Sibley > Net-iTMS-0.15 > Net::iTMS::Search::Advanced

Download:
Net-iTMS-0.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.14   Source  

NAME ^

Net::iTMS::Search::Advanced - 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";
    }

DESCRIPTION ^

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 ^

Copyright 2004, Thomas R. Sibley.

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

AUTHOR ^

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

SEE ALSO ^

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

syntax highlighting: