cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get shared file link from Python

Get shared file link from Python

Ruud H.1
New member | Level 1

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 1

Steve M.
Dropbox Staff

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 Python tutorial.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Steve M. Dropbox Staff
What do Dropbox user levels mean?