Created
January 31, 2010 10:34
-
-
Save philoye/291015 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'smoke' | |
Smoke.yql(:flickr) do | |
prepare do | |
select :all | |
from 'flickr.photos.search' | |
where :user_id, flickr_user_id | |
end | |
end | |
photos1 = Smoke[:flickr].flickr_user_id('12021774@N05').output | |
puts photos1.first[:query][:uri] | |
photos2 = Smoke[:flickr].flickr_user_id('30853535@N00').output | |
puts photos2.first[:query][:uri] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment