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
Nprice
3 years agoExplorer | Level 4
#tags in the Python API
Hey! Is it possible to add #tags to files and/or folders using the API? I had a quick scan of the docs but couldn’t find it and the search function doesn’t work.
Anyone know?
😁 Seems, you haven't read my previous posts. Take a look on them more careful. Can you find the link? 🧐🙂
- ЗдравкоLegendary | Level 20
Hi Nprice,
Take a look here: https://www.dropbox.com/developers/documentation/http/documentation#files-tags-add 😉 for API end-point.
Hope this helps.
For Dropbox Python SDK method take a look here.
- NpriceExplorer | Level 4That’s helpful! Thank you
Maybe you can save me some time: would I get the file URL / access the file using Python and then throw each URL + tags into an API url and call it with requests?
I’m new-ish to Python so any pointers would be appreciated!- ЗдравкоLegendary | Level 20
To be honest, I'm not sure what you ask me actually. You don't need any URL neither actual file to add a tag. The only thing you need is a regular file path (aside of the tag itself), nothing else. This is the same both when using direct API endpoint access or the same through any Dropbox SDK (including Python). There is nothing Python specific. If you mean something else, clarify your question.
Lucky jump into the deep of programming. 😉
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 4 days agoIf 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!