Net::Spotify::Search - Perl interface to the Spotify Metadata API
Version 0.03
use Net::Spotify::Search; my $search = Net::Spotify::Search->new(); # search the artist and get detailed information # about all the related albums my $response = $search->make_request( 'track', q => 'june tune', page => 2, );
This module implements the interface to the search service of the Spotify Metadata API. It inherits most of the methods from Net::Spotify::Service.
search
https://developer.spotify.com/technologies/web-api/search/
Builds the request used by make_request(). The URI format is: [base_url]/search/[version]/[method].[format]?q=[search_term]&page=[page] Ie. http://ws.spotify.com/search/1/track.xml?q=june%20tune&page=2
make_request()
Returns an HTTP::Request object.
Parameters are passed from make_request(). The first is a scalar, and the second a hash.
Represents the type of search. Possible values are: artist, album, track. Mandatory.
artist
album
track
The search term. Mandatory.
The page of the result set to return. Defaults to 1. Optional.
Net::Spotify, Net::Spotify::Service, Net::Spotify::Lookup
Net::Spotify
Net::Spotify::Service
Net::Spotify::Lookup
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.