Net::Douban::OAuth - OAuth object for Net::Douban


Net-Douban documentation  | view source Contained in the Net-Douban distribution.

Index


NAME

Top

    Net::Douban::OAuth - OAuth object for Net::Douban

VERSION

Top

version 1.07

SYNOPSIS

Top

    my $oauth = Net::Douban::OAuth->new(
        consumer_key => ,
        consumer_secret => ,
        site => ,
        request_token_path => ,
        access_token_path =>, 
    );

    $oauth->request_token;
    $oauth->access_token;




DESCRIPTION

Top

OAuth object for douban.com base on Net::OAuth

METHOD

Top

new

Create the OAuth object for authentication. If the authenticated tokens are passed as the arguments, do remember to pass authorized => 1 too.

request_token

get request token into $oauth->consumer

access_token

get access_token into $oauth->consumer

HTTP Request Methods
    get
    post
    put
    delete

SEE ALSO

Top

Net::Douban Moose Net::OAuth http://douban.com/service/apidoc

AUTHOR

Top

woosley.xu<redicaps@gmail.com>

COPYRIGHT & LICENSE

Top


Net-Douban documentation  | view source Contained in the Net-Douban distribution.