I want to write a bash script to generate charts based on google chart api.
Google Image Charts API will not available in the future.
Important: The Image Charts portion of Google Chart Tools has been officially deprecated as of April 20, 2012. It will continue to work as per our deprecation policy.
The new APIs are based on ajax. How to access the ajax based API via curl?
Thanks.
The main thing is to single-quote the URL; otherwise, you’ll end up with a malformed URL.