dreger / statflix

🍿 Aggregating data from your Netflix recently watched history
15 stars 2 forks source link

Pipe data to Google Charts #3

Open dreger opened 10 years ago

dreger commented 10 years ago

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.

corcorans commented 10 years ago

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

corcorans commented 10 years ago

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

dreger commented 10 years ago

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?

corcorans commented 10 years ago

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.