Dropbox API Getting a shared link for a file or folder Creating a shared link for a folder using the Dropbox Python library

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

This uses the Dropbox Python SDK to create a shared link for a folder:

import dropbox
dbx = dropbox.Dropbox("<ACCESS_TOKEN>")
shared_link_metadata = dbx.sharing_create_shared_link_with_settings("/Testing")
print shared_link_metadata.url

<ACCESS_TOKEN> should be replaced with the access token.



Got any Dropbox API Question?