问题
Has anyone came across Dropbox migration from API v1 to v2?
I could not find ruby-sdk
for v2
in official documentation. If I want to migrate from v1
to v2
, Should I manually do all the changes in existing ruby-sdk
for v1
?
回答1:
Unfortunately, Dropbox does not offer an official Ruby SDK for Dropbox API v2.
You'd either need to modify the SDK/library you're using, or implement your app using the HTTP endpoints directly.
There's a migration guide here:
https://www.dropbox.com/developers/reference/migration-guide
回答2:
I've just published a small library that aims to fill this gap: https://rubygems.org/gems/dropbox_api
Many endpoints are pending and documentation needs to be improved, but it's the best you'll find right now.
I hope it helps you.
来源:https://stackoverflow.com/questions/37563345/dropbox-api-v2-sdk-for-ruby