NAME
Net::Kotonoha - A perl interface to kotonoha.cc
SYNOPSIS
use Net::Kotonoha;
use Data::Dumper;
my $kotonoha = Net::Kotonoha->new(
mail => 'xxxxx@example.com',
password => 'xxxxx',
);
warn Dumper $kotonoha->newer_list;
my $koto = $kotonoha->get_koto(120235);
$koto->answer(1, 'YES!YES!YES!');
warn Dumper $koto->answer;
DESCRIPTION
This module allows easy access to kotonoha. kotonoha is not provide API. Thus, this module is helpful for make kotonoha application.
CONSTRUCTOR
- new(\%account_settings)
-
Two parameter is required, a hashref of options. It requires
mail
andpassword
in the parameter. You have to sign-up your account at nowa if you don't have them.
METHOD
You can access koto list with following methods.
newer_list
recent_list
answered_list
posted_list
stream_list
subscribed_list
And, you can get koto object with following method specified id of koto.
get_koto($koto_no)
You'll get koto object. see Net::Kotonoha::Koto.
AUTHOR
Yasuhiro Matsumoto <mattn.jp@gmail.com>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.