This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
flickraw /
| name | age | message | |
|---|---|---|---|
| |
README | Thu Apr 24 05:21:07 -0700 2008 | |
| |
Rakefile | Sat Jul 04 19:51:06 -0700 2009 | |
| |
copying.txt | Thu Apr 24 05:10:22 -0700 2008 | |
| |
examples/ | Thu Apr 24 05:21:07 -0700 2008 | |
| |
flickraw.gemspec | ||
| |
flickraw_rdoc.rb | Thu Apr 24 05:21:07 -0700 2008 | |
| |
lib/ | ||
| |
test/ | Thu Apr 24 05:21:08 -0700 2008 |
README
= Flickraw Flickraw is a library to access flickr[http://flickr.com] api in a simple way. It maps exactly the methods described in {the official api documentation}[http://www.flickr.com/services/api]. It also try to present the data returned in a simple and intuitive way. The methods are fetched from flickr when loading the library by using introspection capabilities. So it is always up-to-date with regards to new methods added by flickr. You can read the class documentation here : FlickRaw. The rubyforge project : http://rubyforge.org/projects/flickraw = Installation Type this in a console (you might need to be superuser) gem install flickraw You can recreate this documentation by typing this in the source directory: rake rdoc = Usage require 'flickraw' list = flickr.photos.getRecent id = list[0].id secret = list[0].secret info = flickr.photos.getInfo :photo_id => id, :secret => secret info.title # => "PICT986" info.dates.taken # => "2006-07-06 15:16:18" sizes = flickr.photos.getSizes :photo_id => id original = sizes.find {|s| s.label == 'Original' } original.width # => "800" See the _examples_ directory to find more examples. = Notes If you want to use the api authenticated with several user at the same time, you must pass the authentication token explicitely each time. This is because it is keeping the authentication token internally. As an alternative, you can create new Flickr objects besides Object.flickr which is created for you. Use Flickr.new to this effect.








