Accessing the Google API through wget command in Unix

329 views
Skip to first unread message

pramod

unread,
Dec 2, 2010, 6:56:21 AM12/2/10
to Google Chart API
Hi,

I've been trying to play around with the google chart API's and i
wanted to access this report through the unix. So, when i use the wget
command as shown below, i get a html page (google_api.html) with junk
values in them.

wget -o ~/google_api.log -O ~/google_api.html
http://chart.apis.google.com/chart?cht=p3&chs=250x100&chd=t:60,40&chl=Hello|World

Is there any other way that i could access the API through UNIX?

Edward Tufte Fan

unread,
Dec 2, 2010, 7:05:46 AM12/2/10
to google-c...@googlegroups.com
Hi,
please try qoutes around url and output to a PNG file:

--Ed

--
You received this message because you are subscribed to the Google Groups "Google Chart API" group.
To post to this group, send email to google-c...@googlegroups.com.
To unsubscribe from this group, send email to google-chart-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en.


Reply all
Reply to author
Forward
0 new messages