Yusuke Kawasaki > WebService-Hatena-BookmarkCount-0.05 > WebService::Hatena::BookmarkCount

Download:
WebService-Hatena-BookmarkCount-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.05   Source   Latest Release: WebService-Hatena-BookmarkCount-0.06

NAME ^

WebService::Hatena::BookmarkCount -- Interface for Hatena::Bookmark's getCount XML-RPC API

SYNOPSIS ^

    use WebService::Hatena::BookmarkCount;
    my @list = (
        "http://www.hatena.ne.jp/info/webservices",
        "http://www.kawa.net/works/perl/hatena/bookmarkcount.html",
    );
    my $hash = WebService::Hatena::BookmarkCount->getCount( @list );
    foreach my $url ( @list ) {
        printf( "%5d   %s\n", $hash->{$url}, $url );
    }

DESCRIPTION ^

WebService::Hatena::BookmarkCount is a interface for bookmark.getCount method which is provided by the Hatena Web Services's XML-RPC API.

METHODS ^

$hash = WebService::Hatena::BookmarkCount->getCount( @list );

This method makes a bookmark.getCount XML-RPC call for the Hatena Web Services. @list is list of URLs to get a number of registrations in Hatena::Bookmark. This method returns a reference for a hash, which keys are URLs and which values are counts returned by the Hatena Web Services.

MODULE DEPENDENCIES ^

XML::TreePP

LWP::UserAgent or HTTP::Lite

SEE ALSO ^

Hatena::Bookmark http://b.hatena.ne.jp/

Documents in Japanese http://www.kawa.net/works/perl/hatena/bookmarkcount.html

AUTHOR ^

Yusuke Kawasaki http://www.kawa.net/

COPYRIGHT AND LICENSE ^

Copyright (c) 2006 Yusuke Kawasaki. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.