One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Raheel S.
7 years agoExplorer | Level 3
Dropbox API2 Swift Examples
Hello, Been a while since I've lookd/worked with the dropbox API. I was discouraged the last time I dedicate more than a year on perfecting an app for Datastore API. (anyway)..
I've looked at the v2 API. I wanted to look at a worthy example that shows some capabilities of api2.
Mostly: I'm concerned about efficiency of
1. Downloading a chuck of newly created files.
2. Listening to a folderpath for file changes and calling the function (firstpoint) again.
I want to continously monitor a folderpath for changes and discover new changes (basically a sync API)
But i want to look at examples, all I see is a PhotoWatch. (😤)
Would appreciate someone pointing me to a github or atleast some pointers. At this time, there should be some many examples floating around. (I shouldn't have to write a simple sync logic)
- Greg-DB
Dropbox Staff
In addition to the PhotoWatch sample you already mentioned, we also have some samples on the GitHub page here. Apologies there aren't more!
For reference though, for downloading files, you would use the download methods, and for listening for changes, you would use listFolderLongpoll. If you run in to any issues with those, let me know and we'll be happy to help.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,945 PostsLatest Activity: 3 hours ago
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!