perkeep/pkg/importer/picasa
Paul Lindner b88b82f1ee all: convert imports of golang.org/x/net/context to context
Change-Id: I01cfa903ab2b97a1ad3ea57eb29fe88819216a3f
2018-01-13 16:37:49 -08:00
..
testdata pkg/importer/picasa: better tests 2017-12-30 06:44:21 +00:00
README Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
picasa.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
picasa_test.go all: convert imports of golang.org/x/net/context to context 2018-01-13 16:37:49 -08:00
testdata.go clients/web/embed: Move vendor/embed to clients/web/embed and adjust paths 2018-01-09 22:33:03 +00:00

README

Picasa Importer
===============

This is a working Camlistore importer for Picasa. So far it can import
all photos but not their metadata.

To use:

1) Retrieve an api credential from a project of you from
   https://console.developers.google.com/
   Select/create a project, then under APIs & auth / Credentials, create a new
   web application client id.

2a) Start the devcam server with picasakey flag:
    $ devcam server -verbose -picasakey='Client ID:Client secret'

2b) Place the Client ID and the Client secret in your (low-level) server-config.json:

    "/importer-picasa/": {
        "handler": "importer-picasa",
        "handlerArgs": {
            "apiKey": "Client ID:Client secret"
        }
    },

    and start your camlistore server.

3) Navigate to http://<server>/importer-picasa/start and authorize the app
   to manage your Photos.

4) Watch import progress on the command line (start devcam with -verbose flag).


TODO
----

  * The used OAuth2 scope is for managing (read & modify) photos, but this
    needs only read rights. Is a stricter scope available?
  * The album's author name is not used yet, and the album's short name is needed.
  * Picasa Web dumps a lot of metadata on us. Which would be usable?

See https://perkeep.org/issue/391