Python Google Drive API - list the entire drive file tree

前端 未结 4 1693
走了就别回头了
走了就别回头了 2020-12-10 06:02

I\'m building a python application that uses the Google drive APIs, so fare the development is good but I have a problem to retrieve the entire Google drive file tree, I nee

4条回答
  •  时光取名叫无心
    2020-12-10 06:19

    Will never work like that except for very small trees. You have to rethink your entire algorithm for a cloud app (you have written it like a desktop app where you own the machine) since it will timeout easily. You need to mirror the tree beforehand (taskqueues and datastore) not just to avoid timeouts but also to avoid drive rate limits, and keep it in sync somehow (register for push etc). Not easy at all. Ive done a drive tree viewer before.

提交回复
热议问题