最終更新:2010-12-22 (水) 09:02:23 (4871d)  

YQL
Top / YQL

Yahoo! Query Language

http://developer.yahoo.com/yql/

YQLとはSQLに似た言語で、データをいろいろなWebサービスから得ることができる。

データベースからSQLを利用して、データを取得するように、YQLを使えばいろいろなWebサービスからデータを取得できるようになる。

select * from rss where url='http://rss.news.yahoo.com/rss/topstories'
select * from feed where url='http://rss.news.yahoo.com/rss/topstories'
select * from atom where url='http://www.example.com/atom.xml'
select * from html where url="http://finance.yahoo.com/q?s=yhoo"
select * from json where url="http://pipes.yahoo.com/pipes/pipes.popular?_out=json" and itemPath = "value.items"

ドキュメント

参考