A Ruby Client Library for GrowthForecast API
MIT License
testing ruby: 1.9.2, 1.9.3, 2.0.0; GrowthForecast: >= 0.62 (Jun 27, 2013 released)
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.
gem install growthforecast-client
See examples directory.
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
Following codes prints the http requests and responses to STDOUT
client = GrowthForecast::Client.new('http://localhost:5125')
client.debug_dev = STDOUT # IO object
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Copyright (c) 2013 Naotoshi Seo. See LICENSE for details.