Sha256: 3bb0dea7ddde92b1d7b9a96fec451da769427f8c23a2d5d50f8ec6f3b4d6ff3c

Contents?: true

Size: 418 Bytes

Versions: 19

Compression:

Stored size: 418 Bytes

Contents

require "picasa"

# get some photos in an album
begin
  client = Picasa::Client.new(:user_id => "your_gmail_account", :password => "password")

  albums = client.album.list.entries
  album = albums.find { |album| album.title == "New Album" }

  photos = client.album.show(album.id).entries

  photos.each { |photo| puts photo.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_photos.rb
picasa-0.7.5 examples/get_some_photos.rb
picasa-0.7.4 examples/get_some_photos.rb
picasa-0.7.3 examples/get_some_photos.rb
picasa-0.7.2 examples/get_some_photos.rb
picasa-0.7.1 examples/get_some_photos.rb
picasa-0.7.0 examples/get_some_photos.rb
picasa-0.6.7 examples/get_some_photos.rb
picasa-0.6.6 examples/get_some_photos.rb
picasa-0.6.5 examples/get_some_photos.rb
picasa-0.6.4 examples/get_some_photos.rb
picasa-0.6.3 examples/get_some_photos.rb
picasa-0.6.2 examples/get_some_photos.rb
picasa-0.6.1 examples/get_some_photos.rb
picasa-0.6.0 examples/get_some_photos.rb
picasa-0.5.4 examples/get_some_photos.rb
picasa-0.5.3 examples/get_some_photos.rb
picasa-0.5.2 example/get_some_photos.rb
picasa-0.5.1 example/get_some_photos.rb