You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

babydream's avatar
babydream
Helpful | Level 6
2 years ago

How do I extract the url from sharing_get_shared_links?

I am stuck in getting the url from sharing_get_shared_links?   Been trying all day with no success.  I had no issue with the create_link but that also returns a slew of data which it has the url but ...
  • babydream's avatar
    2 years ago

    I am using Python 3.11.   I finally figured out how to get to the url through trial and error.  Dropbox documentation on Python needs to be updated to explicitly state how the return values are processed.  Otherwise, it can be a nightmare.  I know you guys don't support language specifics on how to extract the parameter values but it would be nice to have this documented.  Thank you

     

     shared_link_metadata = sharing_get_shared_links(path=save_product_path)

            iterator = iter(shared_link_metadata.links)
            print(iterator)
            for item in iterator:
                shared_link = item.url

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,880 PostsLatest Activity: 2 minutes ago
325 Following

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 or Facebook.

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!