The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::iTMS::Genre - Represents a genre in the iTunes Music Store

DESCRIPTION

A Net::iTMS::Genre object represents a genre in the iTMS. Currently, it's only a shell object, but in future releases it will be able to be used to "browse" genres ($genre->artists, $genre->top_songs, etc.).

Methods

new($itms, $genreId)

The first argument must be an instance of Net::iTMS, the second an iTMS genre ID.

Returns a blessed hashref (object) for Net::iTMS::Genre.

id

Returns the ID of the genre (genreId).

name

Returns the name of the genre.

LICENSE

Copyright 2004, Thomas R. Sibley.

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License revision 2.0. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/ or send a letter to:

    Creative Commons
    559 Nathan Abbott Way
    Stanford, California 94305, USA.

AUTHOR

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

SEE ALSO

Net::iTMS, Net::iTMS::Song, Net::iTMS::Album, Net::iTMS::Artist