require "rexml/document" include REXML doc = Document.new File.new("guitars.xml") doc.elements.each("guitars/make/model/color") do |element| puts element.text end Radiko API関係 番組表API http://radiko.jp/epg/newepg/epgapi.php?area_id=JP27&mode=today 1:引数部分area_idは 国名:JP 都道府県コード(JIS):JP13(Tokyo) or JP27(Osaka)*1 2:引数部分mode now = 現在の放送番組 today = 今日の番組表 tomorrow = 明日の番組表 無し = 一週間分の番組表 3:放送局ID(いわゆる略式コールサイ
![2011-01-23](https://cdn-ak-scissors.b.st-hatena.com/image/square/06a15c64ba0ceec233d86d71001ebb29a9dcbf5d/height=288;version=1;width=512/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Ftheme%2Fog-image-1500.png)