Skip to content
Asynchronous python interface to the Dropbox API
Python
Latest commit 561616e May 23, 2013 @bdarnell Merge pull request #4 from techiev2/patch-1
Update README
Failed to load latest commit information.
demo Add demo app Nov 30, 2011
.gitignore Add demo app Dec 1, 2011
LICENSE.txt Add license information (Apache 2.0) Feb 8, 2013
README Update README May 23, 2013
async_dropbox.py Add license information (Apache 2.0) Feb 8, 2013
setup.py Add demo app Dec 1, 2011

README

Introduction
============

This is an asynchronous python interface to the Dropbox API, using the
Tornado IOLoop.  It is designed to be similar to the existing interfaces
in the `tornado.auth` module.

Example usage
=============
        
    class MainHandler(tornado.web.RequestHandler,
                      async_dropbox.DropboxMixin):
        @tornado.web.authenticated
        @tornado.web.asynchronous
        def get(self):
            self.dropbox_request(
                "api", "/1/metadata/sandbox/",
                access_token=self.current_user["access_token"],
                callback=self._on_metadata)

        def _on_metadata(self, response):
            response.rethrow()
            metadata = json.loads(response.body)
            self.render("main.html", metadata=metadata)
Something went wrong with that request. Please try again.