Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dropbox-mk2

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dropbox-mk2

A tool to generate links to files/folders in your dropbox folder

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dropbox-mk2

A tool for generating links to files/folders in your dropbox folder

##Usage test.js demonstrates how to use it.

##Requirements You need to obtain an app-key and app-secret code from the Dropbox developer console.

Then put you app-key in the link below and follow it.

https://www.dropbox.com/1/oauth2/authorize?client_id=app-key&response_type=code

Once you click authorize, you will be presented with an authentication code, copy it and save it.

Dropbox.js requires a settings.json file with your app-key, app-secret and authentication-code so it can authenticate with Dropbox.com

The file should look like this: {"appKey":"your-app-key","appSecret":"your-app-secret","authCode":"your-auth-code"}

##Notes This is my first attempt at publishing a node module, so be gentle :)

dropbox-mk2, is a very simple wrapper for the dropbox API, I wrote it as I struggled with the other modules I came across dbox and dropbox.

I have only got the shareUrl function working as that is the only one I need.

I have left all the debug logging enabled.

Currently the dropox object takes a few hundred milliseconds to get ready, if you call it before it is ready you will get an "err not ready" message. you can check dropbox.ready() if you want to know if it is ready yet. I'm sure there is a nicer way to do this.

If anyone wants to make any changes, I'm happy to accomodate.

Keywords

FAQs

Package last updated on 16 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc