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

Download Dropbox API for free

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.

Getting a shared link for a file using the Dropbox .NET library