Skip to content
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.
/ dropbox-sdk-node Public archive

Hackweek project building a Node focused SDK for Dropbox. Since been merged into the official JS SDK becoming version 6.0.0

License

Notifications You must be signed in to change notification settings

rogebrd/dropbox-sdk-node

Repository files navigation

⚠️ This Repository is Archived. Please refer to the official Dropbox Javascript SDK for current versions. ⚠️

This SDK was originally created by Brad Rogers and Andrew Lawson as a Dropbox Hackweek project. It has since been merged into the official Dropbox Javascript SDK. Please refer to that SDK for any issues, updates, and new features.

Logo

node-current npm codecov

The offical Dropbox SDK for Javascript.

Documentation can be found on GitHub Pages

Installation

Create an app via the Developer Console

Install via npm

$ npm install --save dropbox

Install from source:

$ git clone https://github.com/dropbox/dropbox-sdk-js.git
$ cd dropbox-sdk-js
$ npm install

After installation, follow one of our Examples or read the Documentation.

You can also view our OAuth guide.

Examples

We provide Examples to help get you started with a lot of the basic functionality in the SDK. We provide most examples in both Javascript and Typescript with some having a Node equivalent.

  • OAuth

    • Auth - [ JS ] - A simple auth example to get an access token and list the files in the root of your Dropbox account.
    • Simple Backend [ JS ] - A simple example of a node backend doing a multi-step auth flow for Short Lived Tokens.
    • PKCE Backend [ JS ] - A simple example of a node backend doing a multi-step auth flow using PKCE and Short Lived Tokens.
  • Other Examples

    • Basic - [ TS, JS ] - A simple example that takes in a token and fetches files from your Dropbox account.
    • Download - [ TS, JS ] - An example showing how to download a shared file.
    • Team As User - [ TS, JS ] - An example showing how to act as a user.
    • Team - [ TS, JS ] - An example showing how to use the team functionality and list team devices.
    • Upload [ TS, JS ] - An example showing how to upload a file to Dropbox.

Getting Help

If you find a bug, please see CONTRIBUTING.md for information on how to report it.

If you need help that is not specific to this SDK, please reach out to Dropbox Support.

License

This SDK is distributed under the MIT license, please see LICENSE for more information.

About

Hackweek project building a Node focused SDK for Dropbox. Since been merged into the official JS SDK becoming version 6.0.0

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages