NAME
Net::Douban::User
VERSION
version 1.07_2
SYNOPSIS
use Net::Douban::User;
my $user = Net::Douban::User->new(
userID => 'Net-Douban',
apikey => '....',
# or
oauth => $consumer,
);
$user->userID('abei');
$atom = $user->get_user;
$atom = $user->get_friends;
$atom = $user->get_contacts;
$atom = $user->search(q => 'douban', start_index => 5, max_results => 10);
DESCRIPTION
Interface to douban.com API User section
METHODS
Those methods return a Net::Douban::Atom object which can be use to get data conveniently
- get_user
- get_contacts
- get_friends
- get_auth_user
- search
SEE ALSO
Net::Douban Net::Douban::Atom Moose XML::Atom http://www.douban.com/service/apidoc/reference/user
AUTHOR
woosley.xu<redicaps@gmail.com>
COPYRIGHT
Copyright (C) 2010 by Woosley.Xu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.