/google-photos

Read a user's Google Photos library.

Primary LanguageGoMIT LicenseMIT

google-photos

v1.0.1 | September 26, 2018

Read a user's Google Photos library

The Google Photos API requires an OAuth2 Access Token with the scopes:

Soon I'll add a method for generating a token locally, but for now grab one from the OAuth Sandbox.

Install

go get -u github.com/heindl/google-photos

Command-line

Download photos to a directory.

google-photos download
-o, --output-path string   output path for download

Print photo references to standard out as a JSON document.

google-photos list
Global Flags
-a, --album stringArray   Album titles to limit results.
-t, --token string        Google oauth2 access token.
-v, --verbose             Print debug logs.

Copyright 2018 Parker Heindl. All rights reserved. Use of this source code is governed by the MIT License.