When you fetch the token, fetch it with dual scopes:
"https://docs.google.com/feeds/ https://spreadsheets.google.com/feeds/";

-Vic



On Wed, Apr 13, 2011 at 4:17 PM, DougH <[email protected]> wrote:

> I managed to get AuthSub working for Version 1.0 of Spreadsheets and
> Documents List using Python, but after upgrading to OAuth and Version 3.0 of
> Docs, I haven't been able to find a way to keep using Version 1.0 of
> Spreadsheets.
>
> With Version 1.0 I could get a token for one API, store it, and use it
> later for both like this:
>
> sheetsclient.SetAuthSubToken(Token)
> docsclient.SetAuthSubToken(Token)
>
> With Version 3.0 of Documents List I do this:
>
> docsclient.auth_token =
> gdata.gauth.OAuthHmacToken("xxx","xxx",Token.token,Token.token_secret,gdata.gauth.ACCESS_TOKEN)
>
> Is there any way to use that same authorization using Python with Version
> 1.0 of Spreadsheets, or do I have to authorize them separately? I can
> abandon Spreadsheets and use Documents List for everything, but that means
> downloading and uploading entire spreadsheets just to change one cell.
>

Reply via email to