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::Subject

VERSION

version 1.07_2

SYNOPSIS

        use Net::Douban::Subject;
        my $subject = Net::Douban::Subject->new(
        subjectID => 2023013,
                apikey => '....',
        # or
        oauth => $consumer,
        );

        $atom = $subject->get_book(isbnID => 7543639103);
    $atom = $subject->search_book(tag => 'cowboy', start_index => 5, max_results => 10);

DESCRIPTION

Interface to douban.com API Subject section

METHODS

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

get_book
get_movie
get_music
search_book

parameter q(keyword) or tag needed for the search methods

search_music
search_movie

SEE ALSO

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

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.