我想登录到谷歌,并得到一个令牌在IPython使用。我找到的所有示例都需要填写scope
、next
consumer_key
或更糟的内容:我的密码。。。你知道吗
理想情况是这样的:
>>> import googleapiclient.auth
>>> a = gdata.auth(scope='http://photos.google.com', username='mygooglename')
>>> a.get_token()
http://google.com/auth?token=jdlkfjwrefgjroiwfofewjhfejehk
>>> g = gdata.photos.PhotosService(a)
有类似的吗?你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐