0.0
No commit activity in last 3 years
No release in over 3 years
Simple Google Picasa managment
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.0.6

Runtime

 Project Readme

Picasa¶ ↑

Simple google picasa managment. Only for public albums so far.

Installation¶ ↑

gem install rafaels-picasa

Usage¶ ↑

user = 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::User¶ ↑

The google user.

user = Picasa::User.new('google_username')

Picasa::Album¶ ↑

The 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::Photo¶ ↑

Has the following attributes:

src, title, tags, thumbnail_1, thumbnail_2 and thumbnail_3

so, you can call:

user.photos_by_tag('ruby').first.src