figured it out.

Auth=ABCDF
should be:
auth=ABCDF (lower case)

wow i spent half a day on this???? ;)


On Jul 10, 11:47 am, Saqib Ali <docbook....@gmail.com> wrote:
> Hitoshi,
>
> Thanks for the quick response. How I get a "The document has moved"
> when I try to retrieve the XLS:
>
> # curlhttps://www.google.com/accounts/ClientLogin-d
> email=docbook....@gmail.com -d Passwd=mysecretpassword -d
> accountType=HOSTED_OR_GOOGLE  -d source=Google-spreadsheet -d
> service=wise
>
> # curl --silent --header "Authorization: GoogleLogin Auth=ABCDF"
> "http://spreadsheets.google.com/feeds/download/spreadsheets/Export?
> key=spreadsheetkey&exportFormat=xls"
>
> spreadsheetkey is set to the actual key and Auth is the set to what
> the first cmd returns.
>
> Any thoughts?
>
> Thanks
> Saqib
>
> On Jul 10, 10:11 am, hitoshi uchida <hitoshi.uch...@gmail.com> wrote:
>
> > Dear Ali,
>
> > You can get Spreadsheet as xls using below way.
>
> >http://code.google.com/intl/ja/apis/documents/docs/2.0/developers_gui...
>
> > On 7月11日, 午前1:40, Saqib Ali <docbook....@gmail.com> wrote:
>
> > > Is there a way to export as xls using the Spreadsheet APIs?
>
> > > Thanks
> > > Saqib
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to