The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::TheEchoNest::Artist - Wrapper for The Echo Nest API of music intelligence artist calls

VERSION

version 1.1

SYNOPSIS

 use WWW::TheEchoNest::Artist;
 
 my $api_key = 'YOUR API KEY';
 
 my $artist = WWW::TheEchoNest::Artist->new( api_key => $api_key );

DESCRIPTION

The Echo Nest artist related calls are provided by this module

NAME

WWW::TheEchoNest::Artist

METHODS

biographies

 $artist->biographies( name => 'Lady GaGa' );

blogs

 $artist->blogs();

consolidate

This is a convienence method that allows you to call several of the artist calls via a single method.

NOTE each call is made independently by the colsidate method and will increment your rate limit used by the number of calls passed in.

It is recommended you ensure what you are doing works outside of the context of condolidate before using it.

 my @results = $ten_artist->consolidate(
                        calls => [ 'biographies' , 'hotttnesss' , 'images' ],
                        name => 'Lady GaGa',
                        results => 1
                                       );

extract

 $artist->extract();

familiarity

 $artist->familiarity();

hotttnesss

 $artist->hotttnesss();

images

 $artist->images();

list_genres

 $artist->list_genres();
 
 special case method that allows you to ask for it in array context it will
 return an array of available genres.
 
 my @genres = $artist->list_genres();

list_terms

 $artist->list_terms( name => 'Lady GaGa' );

news

 $artist->news( name => 'Lady GaGa' );

profile

 $artist->profile( name => 'Lady GaGa' );

reviews

 $artist->reviews( name => 'Lady GaGa' );
 $artist->search( name => 'Lady GaGa' );

similar

 $artist->similar( name => 'Lady GaGa' );

songs

 $artist->songs( name => 'Lady GaGa' );

suggest

 $artist->suggest( name => 'Lady GaGa' );

terms

 $artist->terms( name => 'Lady GaGa' );

top_hottt

 $artist->top_hottt( name => 'Lady GaGa' );

top_terms

 $artist->top_terms( name => 'Lady GaGa' );

twitter

 $artist->twitter( name => 'Lady GaGa' );

urls

 $artist->urls( name => 'Lady GaGa' );

video

 $artist->video( name => 'Lady GaGa' );

AUTHOR

Aaron Johnson <aaronjjohnson@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Aaron Johnson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.