Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
alexiscastillodj
4 years agoExplorer | Level 4
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...
Greg-DB
Dropbox Community Moderator
4 years agoalexiscastillodj Yes, as Здравко said, you can find information about these types and methods in the documentation for the Python SDK.
Specifically, the files_list_folder method is only available on the Dropbox type, so you'll need a Dropbox instance to call that. Attempting to call that on DropboxTeam won't work.
Note that you can use the dropbox.Dropbox constructor for both Business and non-Business accounts as long as you have a user-linked access token (e.g., an access token without any "team" scopes). That works the same way for both account types.
If you do have a team-linked access token (e.g., an access token with any "team" scopes), you will need to use the DropboxTeam constructor first, and then use as_admin or as_user to get a Dropbox instance, which you can then use to call files_list_folder.
About 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!