googledrive.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:paste2box 作者: rokups 项目源码 文件源码
def add_login_begin(self):
        flow = self._flow = client.flow_from_clientsecrets('googledrive.json',
                                                           'https://www.googleapis.com/auth/drive.file')
        flow.user_agent = const.APP_USERAGENT
        flow.redirect_uri = client.OOB_CALLBACK_URN
        authorize_url = flow.step1_get_authorize_url()
        return {'Login URL': authorize_url}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号