Coder Social home page Coder Social logo

gfal2-dropbox's Introduction

Plugin for GFAL2 to access data stored in Dropbox.

gfal2-dropbox's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

riga

gfal2-dropbox's Issues

Support for Dropbox API v2

Hi Alejandro,

I couldn't find the Dropbox plugin at https://gitlab.cern.ch/groups/dmc, so I post the issue/suggestion here. A few days ago, the new dropbox API v2 was finally released.
https://blogs.dropbox.com/developers/2015/11/dropbox-api-v2-launches-today/

I think there's not that much to do in order to adapt the changes.

Besides, I cannot get the gfal python bindings working for the dropbox plugin. I use

ctx.set_opt_string("DROPBOX", "APP_KEY", str(appKey))
ctx.set_opt_string("DROPBOX", "APP_SECRET", str(appSecret))
ctx.set_opt_string("DROPBOX", "ACCESS_TOKEN", str(accessToken))
# no more access token secrets in oauth2
#ctx.set_opt_string("DROPBOX", "ACCESS_TOKEN_SECRET", str(accessTokenSecret))

to add the auth data to the transfer parameters. When creating an "App" in Dropbox, it automatically uses oauth2 authentication which hasn't ACCESS_TOKEN_SECRET's anymore (https://www.dropbox.com/developers-v1/core/docs), which leads to errors thrown by https://github.com/cern-it-sdc-id/gfal2-dropbox/blob/c8f7dc418e401e9cc3c0715575e266751081e6cd/src/gfal_dropbox_oauth.c#L45

Could you provide a minimal example showing the dropbox plugin usage in python? I'd really appreciate that =)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.