NAME
WebService::LastFM::Session - Session class of WebService::LastFM
SYNOPSIS
use WebService::LastFM;
my $lastfm = WebService::LastFM->new(
username => $config{username},
password => $config{password},
);
my $stream_info = $lastfm->get_session || die "Can't get Session\n";
my $session_key = $stream_info->session;
DESCRIPTION
WebService::LastFM::Session is the class for WebService::LastFM sessions.
CAVEAT
This is NOT A BACKWARDS COMPATIBLE update. LastFM has changed their API enough to warrant an interface change. The stream_url() accessor has been removed, since it is no longer accessable.
METHODS
- session()
-
$stream_info = $lastfm->get_session; $session_key = $stream_info->session();
Returns the session key for the current session object.
SEE ALSO
Last.FM
Last.FM Stream API documentation
AUTHOR
Christian Brink, <grep_pdx@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2008 - 2009 by Christian Brink Copyright (C) 2005 - 2008 by Kentaro Kuribayashi
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.