Created
October 24, 2009 08:18
-
-
Save fumokmm/217438 to your computer and use it in GitHub Desktop.
This file contains 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
# 同フォルダにhatenahaiku4j-1.1.1.jarを読み込む | |
require 'hatenahaiku4j-1.1.1.jar' | |
# キーワードリストの1ページ目を取得しタイトルを出力 | |
api = Java::hatenahaiku4j.HatenaHaikuAPILight.new | |
api.get_keyword_list.each do |k| | |
puts k.get_title | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment