Sha256: 4ea52439d337254bf0665be4a7598245db4f38ede3f5306d399392793d067f6b

Contents?: true

Size: 914 Bytes

Versions: 1

Compression:

Stored size: 914 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", :slideshow => "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.config do |c|
    c.google_user = 'google.user'
  end

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

1 entries across 1 versions & 1 rubygems

Version Path
picasa-0.2.1 README.rdoc