iKnow Gem + API サンプル

iKnow Gem を使った簡単なサンプル作ってみた!

require 'rubygems'
require 'iknow'

Iknow::Config.init do |conf|
  conf.api_key = 'KEY'
end

user = Iknow::User.find(USERNAME)
puts user.profile.description

これはお手軽でいいな.

 
comments powered by Disqus