Class Flickr
In: flickr.rb
Parent: Object

Flickr client class. Requires an API key, and optionally takes an email and password for authentication

Methods

find_by_url   groups   http_get   licenses   login   method_missing   new   photos   related_tags   request   request_url   tag   users  

Classes and Modules

Class Flickr::Group
Class Flickr::Photo
Class Flickr::Photoset
Class Flickr::User

Attributes

user  [RW] 

Public Class methods

Public Instance methods

Implements flickr.urls.lookupGroup and flickr.urls.lookupUser

Implements flickr.groups.getActiveList

Does an HTTP GET on a given URL and returns the response body

Implements flickr.photos.licenses.getInfo

Stores authentication credentials to use on all subsequent calls. If authentication succeeds, returns a User object

Implements everything else. Any method not defined explicitly will be passed on to the Flickr API, and return an XmlSimple document. For example, Flickr#test_echo is not defined, so it will pass the call to the flickr.test.echo method. e.g., Flickr#test_echo[‘stat’] should == ‘ok‘

Implements flickr.photos.getRecent and flickr.photos.search

Implements flickr.tags.getRelated

Takes a Flickr API method name and set of parameters; returns an XmlSimple object with the response

Takes a Flickr API method name and set of parameters; returns the correct URL for the REST API. If @email and @password are present, authentication information is included

Gets public photos with a given tag

Implements flickr.people.getOnlineList, flickr.people.findByEmail, and flickr.people.findByUsername

[Validate]