Sha256: 0b5b80b341d8c14c32767e7344e1588ec4910828550a8f00fea4c823451a6d60

Contents?: true

Size: 297 Bytes

Versions: 19

Compression:

Stored size: 297 Bytes

Contents

require "picasa"

# get some albums.
begin
  client = Picasa::Client.new(:user_id => "your_gmail_account", :password => "password")

  albums = client.album.list.entries
  albums.each { |album| puts album.title }

rescue Picasa::ForbiddenError
  puts "You have the wrong user_id or password."
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
picasa-0.8.0 examples/get_some_albums.rb
picasa-0.7.5 examples/get_some_albums.rb
picasa-0.7.4 examples/get_some_albums.rb
picasa-0.7.3 examples/get_some_albums.rb
picasa-0.7.2 examples/get_some_albums.rb
picasa-0.7.1 examples/get_some_albums.rb
picasa-0.7.0 examples/get_some_albums.rb
picasa-0.6.7 examples/get_some_albums.rb
picasa-0.6.6 examples/get_some_albums.rb
picasa-0.6.5 examples/get_some_albums.rb
picasa-0.6.4 examples/get_some_albums.rb
picasa-0.6.3 examples/get_some_albums.rb
picasa-0.6.2 examples/get_some_albums.rb
picasa-0.6.1 examples/get_some_albums.rb
picasa-0.6.0 examples/get_some_albums.rb
picasa-0.5.4 examples/get_some_albums.rb
picasa-0.5.3 examples/get_some_albums.rb
picasa-0.5.2 example/get_some_albums.rb
picasa-0.5.1 example/get_some_albums.rb