perkeep/pkg/importer/picasa
mpl 718c9d8b63 pkg/importer: use go4.org/ctxutil
side-effect: fix an unchecked type assertion, and use a conventional
key for the HTTP client associated with the context (instead of our own
string).

Change-Id: I2701de3f41f1f1c56fe3b76bbf590c0e5b39bc72
2015-12-16 15:30:09 +01:00
..
testdata Rewrite Picasa importer for the new Importer API 2014-05-21 22:37:50 +02:00
README Remove some code.google.com references. 2014-12-11 17:33:17 +11:00
oa2_importers.go pkg/importer: use go4.org/ctxutil 2015-12-16 15:30:09 +01:00
picasa.go pkg/importer: use go4.org/ctxutil 2015-12-16 15:30:09 +01:00
picasa_test.go Remove pkg/context 2015-12-12 23:09:02 +01:00
testdata.go picasa, picago: support video, change struct definitions, add start of more tests 2014-07-29 11:44:44 -07: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://camlistore.org/issue/391