¶ ↑
PicasaSimple google picasa managment. Only for public albums so far.
¶ ↑
Installationgem install rafaels-picasa
¶ ↑
Usageuser = Picasa::User.new('google_username')
Get an array of albums
user.albums
Get all photos from album with album_id
user.photos(:album_id => 1234567)
Get all photos from album object
user.albums.first.photos
Get all photos tagged with all given tags (tags separated by commas)
user.photos_by_tag('ruby, rails')
¶ ↑
Picasa::UserThe google user.
user = Picasa::User.new('google_username')
¶ ↑
Picasa::AlbumThe album object. It has the following attributes:
id, title, summary, photos_count, photo, thumbnail, google_user and photos
Try it:
Picasa::Album.all('google_username')
¶ ↑
Picasa::PhotoHas the following attributes:
src, title, tags, thumbnail_1, thumbnail_2 and thumbnail_3
so, you can call:
user.photos_by_tag('ruby').first.src