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

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 );
}

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

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.


Hatena::Bookmark http://b.hatena.ne.jp/
Documents in Japanese http://www.kawa.net/works/perl/hatena/bookmarkcount.html

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

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.