开发者

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开发者_JS百科 missing something :-(. A simple example would help.


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:

  • httplib
  • urllib2
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜