Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Dropbox API v2 #72

Open
arudyanto opened this issue Jun 29, 2016 · 6 comments
Open

Dropbox API v2 #72

arudyanto opened this issue Jun 29, 2016 · 6 comments

Comments

@arudyanto
Copy link

Just received notification that Dropbox API v1 will be turned off one year from now. What'd it take for this gem to work with API v2?

@deanpcmad
Copy link

Any news on this?

@omenking
Copy link

It just turned off yesterday and causing me some grief. There is a fork that supposedly has v2 support but there are strange issues surrounding Hashie since this gem extends its objects from it and its not behaving normally.

@omenking
Copy link

I am currently working on getting all specs to pass on the fork with api-v2 and removing Hashie::Mash in favour of explicitly specifying attributes and in some cases wrapping them in OpenStruct to keep syntax the same

@omenking
Copy link

Aside upload_chunk and delta everything is working now under v2 on my fork.

https://github.com/omenking/dropbox-api

@sqlninja
Copy link

sqlninja commented Oct 3, 2017

This fork does not appear to be working...
Trying to yield the files in a ls and it yields quite a bit of gibberish, but definitely not a list of files...

Here's a sample of the output:
[#<Dropbox::API::Dir:0x007ff1616c78c0 @client= #<Dropbox::API::Client:0x007ff165bfefb0 @connection= #<Dropbox::API::Connection:0x007ff165bfef38 @consumers= {:main=> #<OAuth2::Client:0x007ff165bfed58 @connection= #<Faraday::Connection:0x007ff16256e6d0 @builder= #<Faraday::RackBuilder:0x007ff16256de38 @app= #<Faraday::Request::UrlEncoded:0x007ff1625679c0 @app= #<Faraday::Adapter::NetHttp:0x007ff162567a88 @app= #<Proc:0x007ff162567b78@/Users/johnhenderson/.rvm/gems/ruby-2.3.0/gems/faraday-0.12.2/lib/faraday/rack_builder.rb:154 (lambda)>, @config_block=nil, @connection_options={}>>, @handlers=[Faraday::Request::UrlEncoded, Faraday::Adapter::NetHttp]>, @default_parallel_manager=nil, @headers={"User-Agent"=>"Faraday v0.12.2"}, @options= #<struct Faraday::RequestOptions params_encoder=nil,

@omenking
Copy link

omenking commented Oct 5, 2017

@sqlninja If you wish me to investigate it report it in my fork here:
https://github.com/omenking/dropbox-api/issues

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants