You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

adsalguero's avatar
adsalguero
Explorer | Level 4
2 months ago

Extract Team storage report from PYTHON SDK

Hi everyone! 

 

I want to extract the same data that you can extract from the  team storage report.
It provides me info about path, type ( team subfolder, shared folder,etc), size, owner and Nª of files.

After read decumentation I cannot find any solution that satisfy my demand. 

 

Thanks in advance  for your help.

  • Greg-DB's avatar
    Greg-DB
    2 months ago

    Thanks for the feedback! I'll pass it along.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    The Dropbox API and SDK unfortunately do not offer the ability to create/retrieve the storage report programmatically, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

     

    If you want to recreate that kind of information programmatically, you can use the API to do so, but it would require some work to write custom code to get the specific information you want (for instance, you would need to write code to count files, etc.). The code example from this blog post may be a good starting point.

     

    I would also suggest reviewing the File Access Guide, Sharing Guide, and Team Files Guide for more information and context on how these features work on the Dropbox API to understand how to use them to extract information about the files/folders on a team using the API.

    • adsalguero's avatar
      adsalguero
      Explorer | Level 4

      Thanks Greg for your answer. I am trying to replicate it but the docmuntentation for python SDK could be hard understand. Can i recommend put some examples of the output?

       

      Thnaks again

       

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        Thanks for the feedback! I'll pass it along.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,883 PostsLatest Activity: 4 hours ago
326 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!