To make things as easy as possible, we have several platform SDKs you can import into your development environment to get up and running quickly. The SDKs contain platform-specific libraries that wrap the raw HTTP calls to the Dropbox API. They are designed to shorten the distance between your application and integrating Dropbox.
You can also install the Dropbox gem and its dependencies via RubyGems (you may need sudo
).
gem install dropbox-sdk
That's it. Once you import the Dropbox gem into your app, you'll be able to use all the Core API methods.
Download and uncompress the latest version of the Ruby SDK. Among the materials included in the SDK are three code examples:
To get these examples running, you'll need to edit each script to enter your app key and secret where indicated. Also make sure that the access type is set to :app_folder
or :dropbox
as configured for your app.