60 likes | 191 Views
YQL. Kevin Murphy CMPS 183. YQL. “The Yahoo! Query Language is an expressive SQL-like language that lets you query, filter, and join data across Web services.” Uses Open Data Tables Can read a variety of file types HTML, XML, JSON, RSS, Atom, and microformat Returns results in XML or JSON.
E N D
YQL Kevin Murphy CMPS 183
YQL • “The Yahoo! Query Language is an expressive SQL-like language that lets you query, filter, and join data across Web services.” • Uses Open Data Tables • Can read a variety of file types • HTML, XML, JSON, RSS, Atom, and microformat • Returns results in XML or JSON
Open Data Tables • Example: • http://www.yqlblog.net/samples/twitter.status.xml • Select/Insert/Delete Elements • Familiar to SQL users • Contain the urls, inputs, and executes elements
Open Data Tables • Execute Element • Contains JavaScript • Can run on Yahoo servers • Login to accounts • Manipulate Data
Uses • Read and post Twitter messages • Explore Netflix movie library • Make your own
Resources • http://developer.yahoo.com/yql/ • http://developer.yahoo.com/yql/console/