No commit activity in last 3 years
No release in over 3 years
A Ruby Client Library for GrowthForecast API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
~> 2.11

Runtime

>= 0
 Project Readme

GrowthForecast Client Build Status

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2013 Naotoshi Seo. See LICENSE for details.