Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "picasa"
- # get some photos in an album
- client = Picasa::Client.new(user_id: "your-gmail-account@gmail.com", access_token: "oauth-access-token")
- 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 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement