Net::Douban::Subject - Net::Douban::Subject documentation


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

Index


NAME

Top

Net::Douban::Subject

VERSION

Top

version 1.07

SYNOPSIS

Top

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

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

DESCRIPTION

Top

Interface to douban.com API Subject section

METHODS

Top

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

Top

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

AUTHOR

Top

woosley.xu<redicaps@gmail.com>

COPYRIGHT

Top


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