The Community is undergoing a major upgrade. Find out more, ask us questions or share your thoughts here.
Forum Discussion
craggleb
6 years agoExplorer | Level 4
Pythong SDK - team_team_folder_list
Hi I'm having trouble attempting to use the python SDK I'm trying to access a list of team folders using 'team_team_folder_list' For example: dbx = dropbox.Dropbox(access_token)
result = dbx.team_...
- 6 years ago
The team_team_folder_list method is defined on the DropboxTeam class, so you'll need to instantiate a DropboxTeam and call it on that (instead of just Dropbox). That is, that first line should look like this instead:
dbx = dropbox.DropboxTeam(access_token)
Also, note that the team_team_folder_list does not take a 'path' parameter. You can find more information on using it in the documentation.
I also recommend reading the Namespace Guide and Content Access Guide for information on how to access various parts of a Dropbox Business team's content.
Greg-DB
Dropbox Staff
The team_team_folder_list method is defined on the DropboxTeam class, so you'll need to instantiate a DropboxTeam and call it on that (instead of just Dropbox). That is, that first line should look like this instead:
dbx = dropbox.DropboxTeam(access_token)
Also, note that the team_team_folder_list does not take a 'path' parameter. You can find more information on using it in the documentation.
I also recommend reading the Namespace Guide and Content Access Guide for information on how to access various parts of a Dropbox Business team's content.
craggleb
6 years agoExplorer | Level 4
Thanks Greg that works perfectly!
I would never have gotten to invoking it with an access token from the documentation
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 hours agoIf 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!