npm install dropbox-client[build-badge]: https://img.shields.io/travis/mjackson/dropbox-client/master.svg?style=flat-square
[build]: https://travis-ci.org/mjackson/dropbox-client
[npm-badge]: https://img.shields.io/npm/v/dropbox-client.svg?style=flat-square
[npm]: https://www.npmjs.org/package/dropbox-client
dropbox-client is a client for the Dropbox API v2.
Using npm:
$ npm install --save dropbox-client
dropbox-client requires you to bring your own global fetch function. isomorphic-fetch is a great polyfill.
Then, use as you would anything else:
``js
// using ES6 modules
import { getFile } from 'dropbox-client'
// using CommonJS modules
var getFile = require('dropbox-client').getFile
`
The UMD build is also available on npmcdn:
`html`
You can find the library on window.DropboxClient`.