Wednesday, December 10, 2008

Yahoo Query Language (YQL)

Chris Heilman showed some of the YQL-project on last weeks Geek Meet. I just tried it out, and it´s really quite amazing!  To be able to use a query langugage that resembles the dialect of TSQL is really easy and fun to play around with. You have to try the console application for yourself!


An example question, which lists the photos from our Flickr account.

select * from flickr.photos.search where user_id="30132017@N08"


The response is in XML so you can use that structured data anyway you like. The url of the YQL-query: http://query.yahooapis.com/v1/yql?q=select%20*%20from%20flickr.photos.search%20where%20user_id%3D%2230132017%40N08%22&format=xml