Skip to content

marshallmick007/flickrip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Flickrip is a HTTP 'client' for Flickr. It supports parsing of Flickr Url's to Flickr 'tokens;

url = "http://www.flickr.com/photos/marshallmickelson/5092430638/in/set-72157624713794623/"
Flickrip::UrlParser.parse( url )

> {:user=>"marshallmickelson",:imageid=>5092430638,:set=>72157624713794623}

Flickrip also comes stock with an easy way to 'browse' to the actual image hidden behind Flickr's un-userfriendly website

url = "http://www.flickr.com/photos/marshallmickelson/5092430638/in/set-72157624713794623/"
flickr = Flickrip::FlickrImage.new url
flickr.original_size  
# nil, since this photo does not allow viewing of an original size

flickr.largest_image
# opens the largest image size flickr supports for this image

Caveat

This gem does not use Flickr's official API, but scrapes portions of the actual DOM.

About

Gem for interacting directly with the Flickr web application, via DOM parsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages