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 (
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Wed Feb 18 20:14:19 -0800 2009 | |
| |
doc/ | Mon Mar 10 23:40:38 -0700 2008 | |
| |
flickr-rest.gemspec | Wed Feb 18 20:14:19 -0800 2009 | |
| |
lib/ | Wed Feb 18 20:14:19 -0800 2009 | |
| |
pkg/ | Wed Nov 12 06:09:37 -0800 2008 | |
| |
spec/ | Wed Feb 18 20:14:19 -0800 2009 |
README.markdown
Introduction
flickr-rest is a stab at removing all the stuff that you don't really want to do. There are no specific photo methods, community. Nothing.
Simply use it to query the bits you want. If you want a flickr api wrapper, use the flickr gem.
Usage
require 'flickr-rest'
Flickr::Query::CONFIG_PATH = '/path/to/flickr.yml'
flickr = Flickr::Query.new('flickr.test.echo')
# Raw JSON response (String)
flickr.raw
=> '{"api_key":{"_content":"2b60171843b346aa104e3a38d0129e5e"}, "format":{"_content":"json"}, "nojsoncallback":{"_content":"1"}, "method":{"_content":"flickr.test.echo"}, "stat":"ok"}'
# A clean, tidy ruby object
flickr.parsed
=> {:api_key=>"2b60171843b346aa104e3a38d0129e5e", :format=>"json", :method=>"flickr.test.echo", :nojsoncallback=>"1"}







