OK, the story so far:
import gdata
import gdata.auth
import gdata.gauth
import gdata.docs.service
import OpenSSL.crypto
tokenfile = "privatekey.p12"
#f = open(tokenfile, 'r')
#blob = f.read()
#f.close()
#if blob:
p12 = OpenSSL.crypto.load_pkcs12(file(tokenfile, 'rb').read(), 'notasecret')
print
OK, maybe the p12 file is useful after all (?) I've got the following code:
import gdata
tokenfile = "my-privatekey.p12"
f = open(tokenfile, 'r')
blob = f.read()
f.close()
token = gdata.gauth.token_from_blob(blob)
When I run that I get:
Traceback (most recent call last):
File "/home/mcarter/wa
I want to mess around with my online Google spreadsheets from my Linux box
programmatically. I am TOTALLY confused.
I've got gdata installed, and it appears that the best way to access the
spreadsheets is to authenticate with Oauth2.
Here's the main thing: how do I get an Oauth2 key to use with