Hi,
please try qoutes around url and output to a PNG file:

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

--Ed
On Thu, Dec 2, 2010 at 1:56 PM, pramod <[email protected]> wrote:

> 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?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Chart API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-chart-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-chart-api?hl=en.
>
>

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

Reply via email to