NAME

Net::GrowthForecast - A client library for awesome visualization tool GrowthForecast

SYNOPSIS

use Net::GrowthForecast;

my $gf = Net::GrowthForecast->new( host => 'localhost', port => 5125 );

$gf->post( 'serviceName', 'sectionName', 'graphName', $update_value );

$gf->graphs();   #=> arrayref of hashref
$gf->complexes();
$gf->all();

$gf->graph( $graph_id );   # hashref
$gf->complex( $complex_id );
$gf->by_name( $service_name, $section_name, $graph_name );

my $graph = $gf->all()->[0];
$graph->{description} = 'update description of your graph';
$gf->edit($graph);

my $spec = $gf->all()->[0];
$graph->{graph_name} = 'copy_of_' . $graph->{graph_name};
$gf->add($graph);

my $graph = pop @{ $gf->all() };
$gf->delete($graph);

DESCRIPTION

Net::GrowthForecast is a client library for GrowthForecast JSON API. This supports GET/LIST/EDIT/ADD/REMOVE simple graphs and complex graphs.

USE GrowthForecast v0.33 or later

METHODS

AUTHOR

tagomoris (TAGOMORI Satoshi) <tagomoris {at} gmail.com>

LICENSE

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