开发者

How to retrieve a picasa photo using Google api in Python

开发者 https://www.devze.com 2023-03-28 01:12 出处:网络
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 meth

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

精彩评论

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

关注公众号