The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::Douban::Review

VERSION

version 1.07_1

SYNOPSIS

        use Net::Douban::Review;
        my $review = Net::Douban::Review->new(
                apikey => '....',
        # or
        oauth => $consumer,
        );

        $atom = $review->get_review(reviewID => 1138468);
    $atom = $review->get_user_review(userID => '2265138', start_index => 5, max_results => 10);

DESCRIPTION

Interface to douban.com API Review section

METHODS

Those get methods return a Net::Douban::Atom object which can be use to get data conveniently

get_review
get_user_review

userID required

get_book_review
get_moview_review
get_music_review
post_review

post XML required

put_review

modify your review, reviewID and put XML required

delete_review

reviewID required

SEE ALSO

Net::Douban Net::Douban::Atom Moose XML::Atom http://www.douban.com/service/apidoc/reference/review

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.