Flickrie

An object-oriented wrapper for the Flickr API.

About

Your first words are probably:

There is already a gem for that.

This documentation will try its best to justify to you why
this gem is not "just another Flickr API wrapper".

Firstly, this library is object-oriented. This is a big advantage, because your
code will be much more elegant and much prettier. OO also makes room for
additional methods that Flickr doesn't provide, which do the API-specific logic
for you.

Secondly, this library parses the JSON response from Flickr. What I mean is,
JSON has to represent objects like dates and booleans in a way that is not
native to Ruby. With this library, date attributes like #updated_at,
instead of returning Strings, will return Time objects,
which is something you can work with. And boolean attributes like #ispro,
instead of returning 1 (true) and 0 (false),
will return true or false.
This library attempts to take care of all these little things internally,
so that you as a developer can concentrate on more important things.

Thirdly, the attributes are renamed to names you're used to. For example,
the #lastupdate attribute is renamed to #updated_at,
and the #ispro attribute is renamed to #pro?.

Fourthly, this gem is aware of the fact that Flickr can also host videos.
And it's really smart about it.

Now you're probably thinking:

Whoa, this library seems like some hardcore shit. Show me some usage examples.