I did just that.
I use CURL from PHP to get the .jpg and save it as a local file.
The filename is the MD5 of the URL so the same data produces the same
filename, clean and easy.

António Vasconcelos

SSI - ASD - Adm. Sistemas Unix

Caixa Geral de Dépósitos - Av João XXI, piso 7

Extensão:  55 67 81

 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Carlos_M
> Sent: quarta-feira, 24 de Junho de 2009 0:26
> To: Google Chart API
> Subject: Re: Downloading and storing generated charts?
> 
> 
> HI there,
> 
> I don't see any reason why it wouldn't be permissible - 
> provided you abide by the Terms of Service.
> 
> There's folks here that have had similar use-cases and they 
> solved the problem by using cURL ( with PHP ) - they just 
> fetch the image from Google and store it locally as a JPG. 
> There's many other libraries that let you fetch and save, so 
> it might be your next destination for this project.
> 
> regards
> 
> C_M
> ::carloslabs::
> 
> On Jun 24, 5:15 am, Richard Price <[email protected]> wrote:
> > Hi,
> >
> > Is it permissible to pass Google Charts the required URL, 
> and download 
> > the generated chart for storage and future serving locally? 
>  I really 
> > want to minimise the amount of hits to the Google Charts 
> API for what 
> > is, essentially, the same data all the time - and not rely on a 
> > caching proxy between the client and the Google server.
> >
> > Regards
> > Richard
> --~--~---------~--~----~------------~-------~--~----~
> 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
> -~----------~----~----~----~------~----~------~--~---
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to