mirror of https://github.com/perkeep/perkeep.git
290413a692
returned by the API was different (by one) than the number of photos claimed in the top-level NumPhotos attribute. Instead of relying in the NumPhotos attribute, just keep requesting until we get a response with nothing in it. This is also more robust against the (admitted edge-case of the album contents changing while the importer is running. Change-Id: Id928a6526e2805aa64e2e59828e2575235bcf9b9 |
||
---|---|---|
.. | ||
testdata | ||
README.md | ||
atom.go | ||
atom_test.go | ||
auth.go | ||
doc.go | ||
get.go |
README.md
picago
Picago is a small Go library for downloading photos from Picasa Web.
Install
go install github.com/tgulacsi/picago/pica-dl
After getting a client ID and secret from , you can run the example app as
pica-dl -id=11849328232-4q13l4hgr5mdt35lbe49l8banqg5e1mk.apps.googleusercontent.com -secret=Y0xf_rauB9MVTNYAI2MYIz2w -dir=/tmp/pica
This will download all photos from all albums under /tmp/pica. Each album and photo is accompanied with a .json file containing some metadata.