NAME
WebService::Hatena::Graph - A Perl interface to Hatena::Graph API
VERSION
This document describes WebService::Hatena::Graph version 0.03
SYNOPSIS
use WebService::Hatena::Graph;
my $graph = WebService::Hatena::Graph->new($username, $password);
$graph->post($graphname, $date, $value);
DESCRIPTION
WebService::Hatena::Graph allows you to post some values resulting from your daily activities easily to Hatena::Graph to record them graphically.
METHODS
new ( $username, $password )
my $graph = WebService::Hatena::Graph->new($username, $password);
Creates and returns a new WebService::Hatena::Graph object.
post ( $graphname, $date, $value )
$graph->post($graphname, $date, $value);
Posts a new $value for $date to the graph represented by $graphname. Unless the response code is 201, this method will croak immediately.
$date can take any form described below:
2006-10-13, 06-10-13, 10-13
Date values separated with dashes.
2006/10/13, 06/10/13, 10/13
Date values separated with slashes.
20061013, 061013
Date values unseparated.
For more details, consult the help documentation of Hatena::Graph.
SEE ALSO
Hatena::Graph
Hatena::Graph API documentation
http://d.hatena.ne.jp/keyword/%a4%cf%a4%c6%a4%ca%a5%b0%a5%e9%a5%d5%bf%f4%c3%cd%c5%d0%cf%bfAPI
AUTHOR
Kentaro Kuribayashi <kentaro@cpan.org>
COPYRIGHT AND LICENSE (The MIT License)
Copyright (c) 2006, Kentaro Kuribayashi <kentaro@cpan.org>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.