We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

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,877 PostsLatest Activity: 12 months ago
325 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!