Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

alexiscastillodj's avatar
alexiscastillodj
Explorer | Level 4
4 years ago

Dropbox Team in python??

I am trying to create a python file that will download some files automatically, but my account is a business team account and I cannot connect it, I have informed myself what I have been able to and all the forums tell me:

if you're using a "Dropbox API" app, your code should look like:
dbx = dropbox.Dropbox(_dropbox_token)

dbx.files_list_folder()
if you're using a "Dropbox Business API" app, your code should look like:
dbx = dropbox.DropboxTeam(_dropbox_token)
dbx.files_list_folder()

I have tried this system and it does not work. I have tried to look for more options and I do not find anything, please can you help me.
The error is the following:
AttributeError: 'DropboxTeam' object has no attribute 'files_list_folder'

2 Replies

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!