Yahoo! Query Language

Short description: SQL-like query language

Yahoo! Query Language (YQL) is an SQL-like query language created by Yahoo! as part of their Developer Network. YQL is designed to retrieve and manipulate data from APIs through a single Web interface, thus allowing mashups that enable developers to create their own applications[1] using Yahoo! Pipes online tool.

Initially launched in October 2008 with access to Yahoo APIs,[2] February 2009 saw the addition of open data tables from third parties such as Google Reader, the Guardian, and The New York Times .[3] Some of these APIs still require an API key to access them. On April 29 of 2009, Yahoo introduced the capability to execute the tables of data built through YQL using JavaScript run on the company's servers for free.[3] On January 3, 2019, Yahoo retired the YQL API service.

## Contents

* 1 Examples
* 2 Rate limits
* 3 See also
* 4 References
* 5 External links

## Examples

Filter RSS feeds

select title, link from rss where url = 'https://www.engadget.com/rss.xml'

Convert CSV to JSON or XML

select * from csv where url='http://download.finance.yahoo.com/d/quotes.csv?s=YHOO,GOOG,AAPL&f=sl1d1t1c1ohgv&e=.csv' and columns='symbol,price,date,time,change,col1,high,low,col2'

Extract HTML via CSS Selectors

SELECT * FROM data.html.cssselect WHERE url='http://www.w3.org/' AND css='ul.theme'

Get AppLinks meta data

SELECT * from applinks WHERE url IN ('movietickets.com', 'pinterest.com')

Parse any XML source

select Status.presence from xml where url = 'http://mystatus.skype.com/pjjdonnelly.xml' and Status.presence.lang = 'en'

## Rate limits

Use of the YQL should not exceed reasonable request volume.[4] Access is limited as below:

* Per application limit (identified by your Access Key): 100,000 calls per day;
* Per IP limits: /v1/public/*: 2,000 calls per hour; /v1/yql/*: 20,000 calls per hour.

## See also

* SQL
* WSO2 Mashup Server
* Yahoo! Pipes

## References

1. ↑ Perez, Juan Carlos (April 29, 2009). "Yahoo Extends YQL Web Data Query Platform". PC World. https://www.pcworld.com/article/164067/yahoo_extends_yql_web_data_query_platform.html.
2. ↑ Kolakowski, Nicholas (April 29, 2009). "Yahoo Launches YQL Execute, Updates YSlow". eWeek. http://www.eweek.com/c/a/Application-Development/Yahoo-Launches-YQL-Execute-Updates-YSlow-660481/.
3. ↑ 3.0 3.1 O'Dell, Jolie (May 2, 2009). "Developers: Never Mind the APIs, Here's YQL Execute". ReadWriteWeb. http://www.readwriteweb.com/archives/theres_a_great_amount_of.php.
4. ↑ "YQL". https://developer.yahoo.com/yql/.

## External links

* Official site

* v
* t
* e

Verizon Media

Brands|

* AOL
* Mail
* Built By Girls
* Engadget
* Flurry
* HuffPost
* MapQuest
* Rivals.com
* RYOT
* TechCrunch
* Verizon Digital Media Services
* Yahoo!

Former|

* Flickr
* Moviefone
* Tumblr
* go90
* Polyvore

0.00

(0 votes)

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Yahoo!_Query_Language&oldid=3908154"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template