WWW::Grooveshark

Perl wrapper for the Grooveshark API
Download

WWW::Grooveshark Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Miorel-Lucian Palii
  • Publisher web site:
  • http://search.cpan.org/~miorel/

WWW::Grooveshark Tags


WWW::Grooveshark Description

Perl wrapper for the Grooveshark API Grooveshark is an internationally-available online music search, streaming, and recommendation service. The WWW::Grooveshark module wraps this service's API in an object-oriented Perl interface, allowing you to programmatically search for songs, artists, albums, or playlists; browse popular music; get song recommendations; manage playlists; and more.SYNOPSISBasic use is demonstrated here. See "API METHODS" for details. use WWW::Grooveshark; my $gs = WWW::Grooveshark->new(https => 1, agent => "my-nice-robot/0.1"); my $r; $r = $gs->session_start(apiKey => $secret) or die $r->fault_line; for($gs->search_songs(query => "The Beatles", limit => 10)->songs) { printf("%s", $_->{songName}); printf(" by %s", $_->{artistName}); printf(" on %s ", $_->{albumName}); printf(" < %s > ", $_->{liteUrl}); } # session automatically ended by destructor Requirements: · Perl


WWW::Grooveshark Related Software