NAME

Net::Chaton::API - WebAPI for Chaton.

SYNOPSIS

use Net::Chaton::API;
my $client = Net::Chaton::API->new {
	room => 'http://practical-scheme.net/chaton/chaton',
);

#Login to room
$client->login();
#Post Some message
$client->Post("User Name", "Message");
#Start Observer the room
$client->Observer();

DESCRIPTION

This is simple module to connect Chaton.
Chaton: http://practical-scheme.net/chaton

API

Constructor

new(Room URL)

the constructor method. Return instance of Chaton client.

API Method

login()

Login to the room.

Post(UserName, Message)

Post message to room.

Observe()

Start Observing the room. Notify message if enabled.

SEE ALSO

AUTHOR

Pocket, <poketo7878@yahoo.co.jp>

COPYRIGHT AND LICENSE

Copyright (C) 2010 by Pocket.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.1 or, at your option, any later version of Perl 5 you may have available.