++ed by:
IVSOKOLOV
Author image Anastasiya Deeva
and 1 contributors

NAME

VKontakte::API - Module for login into vkontakte.ru and sending requests

VERSION

Version 0.01

SYNOPSIS

        First of all register you application at http://vkontakte.ru/apps.php?act=add
        get api_id and secret_key to use it like this:

    use VKontakte::API;
 
    my $vk = VKontakte::API->new('api_id', 'secret_key');
    my $data=$vk->sendRequest('getProfiles', {'domains'=>'deevaas'});

SUBROUTINES/METHODS

new

Create new object. Two parameters of registered application:

api_id
secret_key

sendRequest

Send requests described at http://vkontakte.ru/developers.php?o=-1&p=%D0%9E%D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D0%B5+%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D0%BE%D0%B2+API

$resp = $auth->sendRequest('getProfiles', {'uids'=>'123123'});

method

Name of methods listed at http://vkontakte.ru/developers.php?o=-1&p=%D0%9E%D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D0%B5+%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D0%BE%D0%B2+API

params

Parameters for method

_params

prepares parameters for request

_encurl

encodes data for url

AUTHOR

Anastasiya Deeva, <nastya at creograf.ru>

BUGS

Please report any bugs or feature requests to bug-vkontakte-api at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=VKontakte-API. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc VKontakte::API

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2011 Anastasiya Deeva.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.