statflix icon indicating copy to clipboard operation
statflix copied to clipboard

Pipe data to Google Charts

Open dreger opened this issue 11 years ago • 4 comments

It would be cool to pipe the returned data (all of it, not just the data from today) to the Google Chart API and return links for graphs of daily hours watched, daily shows watched, etc.

dreger avatar Nov 15 '13 18:11 dreger

That would be an awesome feature, I was just thinking about that at lunch.

corcorans avatar Nov 15 '13 20:11 corcorans

What were you planing on using to send the data to the Google API from ruby? erb or haml?

corcorans avatar Nov 16 '13 14:11 corcorans

I was planning on using the Google Charts API -- although if we could just inject the numbers directly into the API url and have that be opened in the browser once the process completes.

Another thing I was testing was utilizing Spark by @holman to output a small graph to the command line. Thoughts?

dreger avatar Nov 25 '13 22:11 dreger

I think both would be cool to use, however, I am leaning more towards Spark.

If you did the Google Charts API, you'd have to get the data in the format that the API expects it to pass to the javascript call.

corcorans avatar Nov 25 '13 22:11 corcorans