testing ruby: 1.9.2, 1.9.3, 2.0.0; GrowthForecast: >= 0.62 (Jun 27, 2013 released)
About GrowthForecast Client
growthforecast-client is a ruby client library for GrowthForecast API where GrowthForecast is a visualization graph tool.
With growthforecast-client, for example, you can edit properties of a graph such as color
, and create a complex graph.
USAGE
gem install growthforecast-client
See examples directory.
CLI
GrowthForecast Client also provides a CLI named growthforecast-client
.
Delete a graph or graphs under a path (copy and paste the URL from your GrowthForecast):
$ growthforecast-client delete 'http://fqdn.to.growthforecast:5125/list/service_name'
Change the colors of graphs
$ growthforecast-client color 'http://fqdn.to.growthforecast:5125/list/service_name' -c 'graph_name:#1111cc' ...
See help for more:
$ growthforecast-client help
Tips
Debug Print
Following codes prints the http requests and responses to STDOUT
client = GrowthForecast::Client.new('http://localhost:5125')
client.debug_dev = STDOUT # IO object
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright
Copyright (c) 2013 Naotoshi Seo. See LICENSE for details.