Class | Flickr |
In: |
flickr.rb
|
Parent: | Object |
Flickr client class. Requires an API key, and optionally takes an email and password for authentication
user | [RW] |
Replace this API key with your own (see www.flickr.com/services/api/misc.api_keys.html)
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‘
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