Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Ruud van der Ham's avatar
Ruud van der Ham
Explorer | Level 4
10 years ago

Get shared file link from Python

I want to get the links to a (big) number of files in my Dropbox folder, in Python,
I'm a bit overwhelmed with the API documentation. What's the best way to do this?

1 Reply

Replies have been turned off for this discussion
  • https://www.dropbox.com/developers/core/docs/python#DropboxClient.share

    If you have a DropboxClient object called client, then it's just print client.share('/myfile.txt', short_url=False).

    If you're having trouble getting the DropboxClient set up in the first place, take a look at the https://www.dropbox.com/developers/core/start/python.

About Dropbox API Support and Feedback

Node avatar for 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!