NAME

VK::MP3 - search for mp3 on vk.com

SYNOPSIS

use VK::MP3;
 
my $vk = VK::MP3->new(login => 'user', password => 'secret');
my $rslt = $vk->search('Nightwish');

for (@{$rslt}) {
    # $_->{name}, $_->{duration}, $_->{link}
}

DESCRIPTION

Really simple module, wich uses regular expressions and LWP.

METHODS

new

my $vk = VK::MP3->new(login => $login, password => $password)

Constructs a new VK::MP3 object and login to vk.com. Throws exception in case of any error.

my $rslt = $vk->search($query)

Results, found by $query.

SEE ALSO

VKontakte::API, LWP::UserAgent.

AUTHOR

Alexandr A Alexeev, <afiskon@gmail.com>

COPYRIGHT

Copyright 2011-2012 by Alexandr A Alexeev

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