Dropbox API - Using Dropbox as a server

末鹿安然 提交于 2019-12-05 21:50:12
Peter

You might think about using Google App Engine (GAE). I had a similar requirement recently and I'm thinking this is a good option when you want centralized data. Plus you can do the no-browser account login by using your own custom authentication, or I think it's even possible via OAuth? Depends on how sensitive the data is I guess. I just rolled my own.

From my research I found that using Dropbox as a server has some issues with scalability, since you'll be limited to maybe 5,000 calls per day. source It's built on Amazon S3, so you could also look at using that directly.

GAE lifts that limit up to 675,000, but can be increased up to 91 million for free. https://developers.google.com/appengine/docs/quotas

I did find an open-source project for doing this with Java, alternative you could look at Python example

I've written a daemon that continuously checks for updated files and syncs them. I wrote it for my own file manager iOS app. You can find the implementation here:

https://github.com/H2CO3/MyFile/tree/master/DropboxDaemon

I'm personally not an iOS developer but I came across this question while looking for something else and thought I would offer up another potential solution to the OP's question.

Microsoft just released something called Azure Mobile Services which supports iOS development (among other platforms). It's basically a convenient way to set up a back end system complete with push notifications, authentication, etc. without rolling your own. You don't need to know anything about Azure or servers as the setup process walks you through most of it. It is new so keep that in mind, but it looks promising for situations like this.

Here's a 10 minute video explaining how to use it with an iOS developed app along with links to more documentation: http://channel9.msdn.com/posts/iOS-Support-in-Windows-Azure-Mobile-Services/

Hope this helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!