Search code examples
pythongoogle-apipicasa

How to retrieve a picasa photo using Google api in Python


I am trying to retrieve a photo (the .jpg file) from a Picasa album using the gdata Google API. However I did not find any method which does it, even though it is possible to upload a photo using methods like InsertPhoto and InsertPhotoSimple.

I guess I must be missing something :-(. A simple example would help.


Solution

  • Client API provides methods only for obtaining information on photos: http://code.google.com/apis/picasaweb/docs/1.0/developers_guide_python.html#Photos

    To retrieve an image, use an HTTP GET with information previously obtained. Read the documentation.

    For this purpose you may use a Python library: