Sha256: abafa3880a85525a8d1f858b24b7de12c3dd79245d91d7de96dc1e269547f56a

Contents?: true

Size: 873 Bytes

Versions: 2

Compression:

Stored size: 873 Bytes

Contents

= Picasa

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

= Installation

  sudo gem install picasa --source http://gemcutter.org

In RAILS_ROOT/config/environment.rb

  config.gem "picasa"

== Usage

  Picasa.albums(:google_user => 'google_username')
  #=> [ {:id => "666", :title => "satan-album", :photos_count => 6, :photo => "url", :thumbnail => "url"},
  #     {another one} ]

  Picasa.photos(:google_user => 'google_username', :album_id => 'album_id')
  #=> {:photos => [{ :title, :thumbnail_1, :thumbnail_2, :thumbnail_3, :photo },{}],
  #    :slideshow => "link to picasa slideshow"}

or you can set google user in initializer like this:

  Picasa::WebAlbums.google_user = "google_username"

and use it:

  Picasa.albums
  Picasa.photos(:album_id => 'album_id')

= Copyright

Copyright (c) 2009 Wojciech Wnętrzak, released under the MIT license.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
picasa-0.1.8 README.rdoc
picasa-0.1.7 README.rdoc