Content deleted Content added
m Fixed the first refference author's name. |
Rescuing 0 sources and tagging 1 as dead.) #IABot (v2.0.9.5) (LeapTorchGear - 22831 |
||
(46 intermediate revisions by 38 users not shown) | |||
Line 1:
{{Redirect-distinguish|YQL|Lethbridge Airport}}
'''Yahoo! query language''' ('''YQL''') is an [[SQL]]-like [[query language]] created by [[Yahoo!]] as part of their [[Yahoo! Developer Network|Developer Network]]. YQL is designed to retrieve and manipulate data from [[API]]s through a single Web interface, thus allowing [[mashups]] that enable developers to create their own applications.<ref>{{cite news |url=http://www.pcworld.com/businesscenter/article/164067/yahoo_extends_yql_web_data_query_platform.html |work=[[PC World (magazine)|PC World]] |title=Yahoo Extends YQL Web Data Query Platform |date=April 29, 2009 |last=Perez |first=Juan Carlos }}</ref>▼
{{short description|SQL-like query language}}
▲'''Yahoo!
Initially launched in October 2008 with access to Yahoo APIs,<ref>{{cite news |url=http://www.eweek.com/c/a/Application-Development/Yahoo-Launches-YQL-Execute-Updates-YSlow-660481/ |archive-url=https://archive.today/20120731002123/http://www.eweek.com/c/a/Application-Development/Yahoo-Launches-YQL-Execute-Updates-YSlow-660481/ |url-status=dead |archive-date=July 31, 2012 |work=[[eWeek]] |title=Yahoo Launches YQL Execute, Updates YSlow |last=Kolakowski |first=Nicholas |date=April 29, 2009 }}</ref> February 2009 saw the addition of open [[data table]]s from third parties such as [[Google Reader]], the ''[[Guardian newspaper|Guardian]]'', and ''[[The New York Times]]''.<ref name="rww"/> Some of these APIs still require an [[API key]] to access them. On April
==
Filter RSS feeds
<syntaxhighlight lang="sql">select title, link from rss where url = 'https://www.engadget.com/rss.xml'</syntaxhighlight>
Convert CSV to JSON or XML
==External links==▼
<syntaxhighlight lang="sql">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'</syntaxhighlight>
* [http://developer.yahoo.com/yql/ Official site], including the YQL console▼
Extract HTML via CSS Selectors
<syntaxhighlight lang="sql">SELECT * FROM data.html.cssselect WHERE url='http://www.w3.org/' AND css='ul.theme'</syntaxhighlight>
Get AppLinks meta data
<syntaxhighlight lang="sql">SELECT * from applinks WHERE url IN ('movietickets.com', 'pinterest.com')</syntaxhighlight>
Parse any XML source
<syntaxhighlight lang="sql">select Status.presence from xml where url = 'http://mystatus.skype.com/pjjdonnelly.xml' and Status.presence.lang = 'en'</syntaxhighlight>
==Rate limits==
Use of the YQL should not exceed reasonable request volume.<ref>{{cite web|title=YQL|url=https://developer.yahoo.com/yql/|ref=yql}}</ref> 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==
{{Reflist}}
▲==External links==
{{Oath Inc.}}
{{Yahoo! Inc.}}
{{Query languages}}
[[Category:Yahoo!|query language]]
[[Category:Query languages]]
[[Category:Web scraping]]
|