Skip to content

Instantly share code, notes, and snippets.

@cachafla
Created November 13, 2009 04:53
Show Gist options
  • Save cachafla/233600 to your computer and use it in GitHub Desktop.
Save cachafla/233600 to your computer and use it in GitHub Desktop.
>> site = RestClient::Resource.new('http://twitter.com', :user => "XXXXXX", :password => "XXXXXX")
>> malsano = JSON.parse(site["users/show/almaeffect.json"].get)
>> malsano["name"]
=> "Ivan SIerra"
>> malsano["profile_image_url"]
=> "http://s.twimg.com/a/1258056589/images/default_profile_2_normal.png"
>> malsano["screen_name"]
=> "ALMAEFFECT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment