Net::Spotify::Lookup - Perl interface to the Spotify Metadata API
Version 0.01
use Net::Spotify::Lookup; my $lookup = Net::Spotify::Lookup->new(); # lookup the artist and get detailed information # about all the related albums my $response = $lookup->make_request( uri => 'spotify:artist:4YrKBkKSVeqDamzBPWVnSJ', extras => 'albumdetail', );
This module implements the interface to the lookup service of the Spotify Metadata API. It inherits most of the methods from Net::Spotify::Service.
lookup
http://developer.spotify.com/en/metadata-api/lookup/
Builds the request used by make_request(). The URI format is: [base_url]/lookup/[version]/?uri=[spotify_uri]&extras=[extras] Ie. http://ws.spotify.com/lookup/1/?uri=spotify:artist:4YrKBkKSVeqDamzBPWVnSJ&extras=albumdetail
make_request()
Returns an HTTP::Request object.
Parameters are passed as a hash from make_request().
Represents the Spotify URI to lookup. Mandatory. Ie. spotify:artist:4YrKBkKSVeqDamzBPWVnSJ
spotify:artist:4YrKBkKSVeqDamzBPWVnSJ
A comma-separated list of words that defines the detail level expected in the response. Optional. Ie. albumdetail
albumdetail
Net::Spotify, Net::Spotify::Service, Net::Spotify::Search
Net::Spotify
Net::Spotify::Service
Net::Spotify::Search
Edoardo Sabadelli, <edoardo at cpan.org>
<edoardo at cpan.org>
Please report any bugs or feature requests to bug-net-spotify at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Spotify. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-net-spotify at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Net::Spotify
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Spotify
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Net-Spotify
CPAN Ratings
http://cpanratings.perl.org/d/Net-Spotify
Search CPAN
http://search.cpan.org/dist/Net-Spotify/
This product uses a SPOTIFY API but is not endorsed, certified or otherwise approved in any way by Spotify. Spotify is the registered trade mark of the Spotify Group.
Copyright 2009 Edoardo Sabadelli, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::Spotify, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Spotify
CPAN shell
perl -MCPAN -e shell install Net::Spotify
For more information on module installation, please visit the detailed CPAN module installation guide.