SlideShare a Scribd company logo
YQL

 Markandey Singh
(HackU IIT Kanpur)
Hello
I am
Markandey
I am

{Markandey}
Yahoo Query Language
YQL
  is not a

language
The YQL Web Service enables applications to query,
filter, and combine data from different sources
across the Internet.
This is YQL Console


YQL is not a language
YQL (IITK PPT)
URL output
  http://query.yahooapis.com/{query}




<xml>                    {
                              ‘json’:’json’
</xml                     }
Lets see with example
select * from flickr.photos.interestingness
Here is the code
JSON

{
 “name”: “markandey”
}
JSON with callback

foo ({
 “name”: “markandey”
});
This is what you get
http://bit.ly/yqlflickr
Page Scraping



select * from html where
     url=“------" and
       xpath=“--------”;
Faculty at IIT Kanpur
URL


      select * from html where
url=“http://www.cse.iitk.ac.in/peopl
         e/faculty.html" and
              xpath=“……..”;
XPATH


      select * from html where
url=“http://www.cse.iitk.ac.in/peopl
         e/faculty.html" and
    xpath=“//div[@id="permanent-
           faculty"]/ul//a”;
This is what You get



               http://bit.ly/   iitkfaculty
ChromYQLip
 chromy-clip
Content Analysis with YQL
    http://bit.ly/yqlcap
One catch with CAP
One catch with CAP


             URL length is
             limited , so you
             have to switch
             back to POST,
             method on YQL.
iTunes Store Top 10 Songs
iTunes Store Top 10 Songs
Youtube search
Language sugar: randomize
Some more???
Some more???
Lets see some more hacks
Picture me




http://bit.ly/pikme
What else YQL can do????
You can create your own table



Read more
bit.ly/yqlODT
My random hello!! table
You can store
secrets on YQL
Twitter oauth
SELECT * FROM twitter.STATUS.timeline.friends
WHERE oauth_consumer_key = '9DiJt6Faw0Dyr61tVOATA'
AND oauth_consumer_secret =
'XBF9j0B2SZAOWg44QTu6fCwYy5JtivoNNpvJMs6cA'
AND oauth_token = '18342542-NkgUoRinvdJVILEwCUQJ3sL2CIm2ZwzS5jjj2Lg7y'
AND oauth_token_secret =
'D6ewAzsueTzQmrAJGFH0phV5zgWT88FOtcMeqW4YeI';
                            oauth_consumer_key

                           oauth_consumer_secret              YQL




                                   oauth_token
              Local
             storage

                                   oauth_token
                                                                         38
Read more here




  http://bit.ly/yqloauth
More Hacks example here




http://www.purplegene.com/
                             http://bit.ly/markhack
Siri vs fake
Reach me



@markandey

More Related Content

PDF
Firefox Extension Development
PDF
Unlocking Museum Systems with Open Source
PPTX
YQL: Master Of the Mix
PDF
The Big Power of Small Favors: Using Linked In For Relationship Building
PPT
Aikido of Del Mar
PPTX
Haroldsmithart
PPTX
Select * from internet
PPTX
10 things you can't do without YQL
Firefox Extension Development
Unlocking Museum Systems with Open Source
YQL: Master Of the Mix
The Big Power of Small Favors: Using Linked In For Relationship Building
Aikido of Del Mar
Haroldsmithart
Select * from internet
10 things you can't do without YQL

Similar to YQL (IITK PPT) (20)

PDF
Web services and JavaScript
PPTX
YQL & Yahoo! Apis
PDF
YQL: Hacking on steroids - Yahoo! Open Hack Day 2012
PDF
YQL & Yahoo! APIs - Open Hack India 2011
PDF
Yql hacku iitd_2012
PPT
YQL - Christian Heilmann Open Hack London presentation
PPT
Query the web with YQL
KEY
YQL:: Select * from Internet
PDF
YDN KR Tech Talk : Pipes 와 YQL 활용하기
PPTX
SEA Open Hack - YQL
KEY
YQL: Select * from Internet
PPTX
YQL Publicis Hackday
PPTX
WPP Hackday presentation - YQL
PDF
Yahoo! Query Language - Hadoop India Summit 2011
PPTX
Yql ans geo
PDF
Yahoo! Open Stack & YQL
PDF
Open Hack London - Introduction to YQL
PPT
YQL - A swiss army knife for your hacks at HackU 2010, IIT Bombay
PDF
Using YQL Sensibly - YUIConf 2010
PDF
Yahoo! Hack India: Hyderabad 2013 | YQL - One API to query them all
Web services and JavaScript
YQL & Yahoo! Apis
YQL: Hacking on steroids - Yahoo! Open Hack Day 2012
YQL & Yahoo! APIs - Open Hack India 2011
Yql hacku iitd_2012
YQL - Christian Heilmann Open Hack London presentation
Query the web with YQL
YQL:: Select * from Internet
YDN KR Tech Talk : Pipes 와 YQL 활용하기
SEA Open Hack - YQL
YQL: Select * from Internet
YQL Publicis Hackday
WPP Hackday presentation - YQL
Yahoo! Query Language - Hadoop India Summit 2011
Yql ans geo
Yahoo! Open Stack & YQL
Open Hack London - Introduction to YQL
YQL - A swiss army knife for your hacks at HackU 2010, IIT Bombay
Using YQL Sensibly - YUIConf 2010
Yahoo! Hack India: Hyderabad 2013 | YQL - One API to query them all
Ad

Recently uploaded (20)

PDF
Empathic Computing: Creating Shared Understanding
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Big Data Technologies - Introduction.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
KodekX | Application Modernization Development
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
cuic standard and advanced reporting.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Empathic Computing: Creating Shared Understanding
Reach Out and Touch Someone: Haptics and Empathic Computing
NewMind AI Weekly Chronicles - August'25 Week I
Building Integrated photovoltaic BIPV_UPV.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Machine learning based COVID-19 study performance prediction
Understanding_Digital_Forensics_Presentation.pptx
Big Data Technologies - Introduction.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Unlocking AI with Model Context Protocol (MCP)
Programs and apps: productivity, graphics, security and other tools
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KodekX | Application Modernization Development
The Rise and Fall of 3GPP – Time for a Sabbatical?
Mobile App Security Testing_ A Comprehensive Guide.pdf
Encapsulation_ Review paper, used for researhc scholars
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
cuic standard and advanced reporting.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Ad

YQL (IITK PPT)