Dropbox API Creating a shared link for a file using the SwiftyDropbox library


Example

Dropbox.authorizedClient!.sharing.createSharedLink(path: "/test.txt").response({ response, error in
    if let link = response {
        print(link.url)
    } else {
        print(error!)
    }
})