Daioikachan::Client - Client for Daioikachan
use Daioikachan::Client; my $client = Daioikachan::Client->new({ endpoint => 'http://daioikachan_endpoint.example.com/', }); # Send message to Daioikachan. $client->notice({ message => 'foo' });
Daioikachan::Client is a client for Daioikachan.
Daioikachan::Client->new($args) :Daioikachan::Client
Create and returns a new Daioikachan::Client instance.
$args:
Endpoint of Daioikachan server. You must specify a this parameter.
This parameter is used by Furl::HTTP request.
Options for Furl::HTTP->new.
$client->notice($args) :Furl::Response
Send message to Daioikachan as notice.
$args
This parameter is used by send to Daioikachan. You must specify a this parameter.
$client->privmsg($args) :Furl::Response
Send message to Daioikachan as privmsg.
https://github.com/sonots/daioikachan
Copyright (C) ryopeko.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
ryopeko <ryopeko@gmail.com>
To install Daioikachan::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Daioikachan::Client
CPAN shell
perl -MCPAN -e shell install Daioikachan::Client
For more information on module installation, please visit the detailed CPAN module installation guide.