@uppy/google-photos
Version:
The Google Photos plugin for Uppy lets users import photos from their Google Photos account
52 lines (36 loc) • 1.73 kB
Markdown
<img src="https://uppy.io/img/logo.svg" width="120" alt="Uppy logo: a smiling puppy above a pink upwards arrow" align="right">
[](https://www.npmjs.com/package/@uppy/google-photos)



The Google Photos plugin for Uppy lets users import photos from their Google
Photos account.
A Companion instance is required for the GooglePhotos plugin to work. Companion
handles authentication with Google, downloads photos from Google Photos and
uploads them to the destination. This saves the user bandwidth, especially
helpful if they are on a mobile connection.
Uppy is being developed by the folks at [Transloadit](https://transloadit.com),
a versatile file encoding service.
```js
import Uppy from '@uppy/core'
import GooglePhotos from '@uppy/google-photos'
const uppy = new Uppy()
uppy.use(GooglePhotos, {
// Options
})
```
```bash
$ npm install @uppy/google-photos
```
Alternatively, you can also use this plugin in a pre-built bundle from
Transloadit’s CDN: Smart CDN. In that case `Uppy` will attach itself to the
global `window.Uppy` object. See the
[](https://uppy.io/docs/#Installation) for instructions.
Documentation for this plugin can be found on the
[](https://uppy.io/docs/google-photos).
The [MIT License](./LICENSE).