谷歌文档的内容

时间:2012-02-13 11:35:06

标签: python-3.x gdata gdata-api

import ssl

def main():
    client = gdata.docs.client.DocsClient(source='yourCo-yourAppName-v1')
    client.ssl = True
    client.ClientLogin(source=client.source, email='xxxxxx', password='xxxxxx')
    feed = client.GetDocList(uri='/feeds/default /private/full?q=python')
    if not feed.entry:
        print 'No entries in feed.\n'

    for entry in feed.entry:
        return entry.title.text.encode('UTF-8')

此代码有什么问题?我想获取包含python word的文档!

0 个答案:

没有答案
相关问题