Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Mark L.45
10 years agoCollaborator | Level 9
API example for SwiftyDropBox v2.0 sharing
#!/usr/bin/python
import dropbox
dbx = dropbox.Dropbox('ab-X')
dbx.users_get_current_account()
for entry in dbx.files_list_folder('/Shared').entries:
print(entry.name)
# OUTPUT:
dbx.files_downl...
Greg-DB
Dropbox Community Moderator
10 years agoWhat do you mean by "app share"? There are two types of sharing in Dropbox, "shared links" and "shared folders". Shared links won't appear in sharing.listFolders, but shared folders will.
Anyway, is your client object going out of scope by any chance? The API call is asynchronous, so that could be a reason you're not getting any output.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!