WWW::HatenaStar - perl interface to Hatena::Star


WWW-HatenaStar documentation  | view source Contained in the WWW-HatenaStar distribution.

Index


NAME

Top

WWW::HatenaStar - perl interface to Hatena::Star

SYNOPSIS

Top

  use WWW::HatenaStar;

  my $conf = { username => "woremacx", password => "vagina" };
  my $star = WWW::HatenaStar->new({ config => $conf });

  my $uri = "http://blog.woremacx.com/";
  # you will have 5 stars
  my $res = $star->stars({
      uri   => $uri,
      quote => "woremacx++",
      count => 5,
  }, {
      # defualt wait is 0.5
      wait     => 1,

      # will passed $current_count and $max_count to callback
      # example: eg/with_progress.pl
      callback => \&callback,
  });
  unless ($res) {
      die "WWW::HatenaStar complains : " . $star->error;
  }




DESCRIPTION

Top

WWW::HatenaStar is perl interface to Hatena::Star.

AUTHOR

Top

woremacx <woremacx at cpan dot org>

otsune

THANKS

Top

dann (cpanid: kitano)

LICENSE

Top

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Top

* Hatena::Star (Japanese)

http://s.hatena.ne.jp/

* WWW::HatenaLogin

WWW-HatenaStar documentation  | view source Contained in the WWW-HatenaStar distribution.