10 THINGS
Which you can’t do
  without YQL!
   Markandey Singh
I am
Markandey
     Singh,
I work @ Yahoo!

                  2
&
I am a JavaScript
     Hacker

    javacript != java


                        3
YQL




      4
10 THINGS
Which you can’t do
  without YQL!


                     5
This is

workshop
   session   6
And mostly about
     {code}


                   7
8
9
10
#1
Converting Any XML
REST API to JSON API


                       11
http://www.cleartrip.com/places/hotels/info/41750




                                                    12
XML API            JSON API




    select * from xml
     where url=‘……’

                              13
14
#2
Cross Domain AJAX



                    15
Domain-2
Domain-1




           XMLHttpRequest




                                       16
Domain-2
Domain-1




                                 ✗
           XMLHttpRequest




                                       17
Domain-1
                            Domain-2




           XMLHttpRequest




                                       18
Domain-1
                   Domain-2




           JSONP
                   ✔
                              19
20
#3
Parsing HTML on cloud



                        21
http://www.purplegene.com/static/invalid_html_example.html




                                                             22
http://www.purplegene.com/static/invalid_html_example.html




                                                 Div , body and html is not closed




                                                                                     23
http://www.purplegene.com/static/invalid_html_example.html




                                                 Div , body and html is not closed




                                                                                     24
25
#4
JavaScript only page
      scraping


                       26
http://passportindia.gov.in/AppOnlineProject/online/chiefOfficer




                                                                   27
ChromYQLip




             28
29
#5
Converting dead web
  into live widget


                      30
Computer jokes

http://www.guy-sports.com/humor/computers/computer_10laws.htm




                                                                31
32
#6
creating logic as
    service


                    33
34
35
#7
hiding JavaScript
execution secret


                    36
SET max_results='1' ON
youtube.search;select * from
youtube.search where query="louis ck"




                                        37
SET max_results='1' ON
youtube.search;select * from
youtube.search where query="louis ck"




                                        38
39
#8
OAuth client without
  having a server


                       40
http://derek.io/blog/2010/how-to-secure-oauth-in-javascript/   41
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';




                                                                         42
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
                                                                         43
44
https://chrome.google.com/webstore/detail/g
gdpdjbjioohmgdhmegcbnodpdcamhpj




                                        45
46
47
https://github.com/markandey/mojito-example-
youtube



                                               48
http://www.markandey.com/


                            49
Thank You!!


              50

More Related Content

PDF
A simple html login page using java s
PDF
Rhok Dec-2012
PPTX
Select * from internet
PPTX
RESTful Web Services
PPTX
SecTor '09 - When Web 2.0 Attacks!
KEY
REST teori og praksis; REST in theory and practice
PDF
2012 03 27_philly_jug_rewrite_static
KEY
YQL: Select * from Internet
A simple html login page using java s
Rhok Dec-2012
Select * from internet
RESTful Web Services
SecTor '09 - When Web 2.0 Attacks!
REST teori og praksis; REST in theory and practice
2012 03 27_philly_jug_rewrite_static
YQL: Select * from Internet

Similar to 10 things you can't do without YQL (20)

KEY
KEY
Modern Web Technologies — Jerusalem Web Professionals, January 2011
KEY
Modern Web technologies (and why you should care): Megacomm, Jerusalem, Febru...
PDF
BeEF: The Browser Exploitation Framework
PDF
Bentobox exercise
PDF
ekb.py: KISS REST API
PDF
REST Introduction (PHP London)
PDF
Consuming RESTful services in PHP
PDF
Consuming RESTful Web services in PHP
KEY
YQL:: Select * from Internet
PDF
Does REST Change the Game for IAM?
PDF
Defcon 20-zulla-improving-web-vulnerability-scanning
PDF
Defcon 20-zulla-improving-web-vulnerability-scanning
PPTX
Defending Your Frontend
PDF
12 core technologies you should learn, love, and hate to be a 'real' technocrat
PDF
ekbpy'2012- Юрий Юревич - Как сделать REST API на Python
PDF
Visualizing MVC, and an introduction to Giotto
PDF
Creating an Effective Mobile API
PDF
Hosting as a Framework
PPTX
OAuth 2.0 and Mobile Devices: Is that a token in your phone in your pocket or...
Modern Web Technologies — Jerusalem Web Professionals, January 2011
Modern Web technologies (and why you should care): Megacomm, Jerusalem, Febru...
BeEF: The Browser Exploitation Framework
Bentobox exercise
ekb.py: KISS REST API
REST Introduction (PHP London)
Consuming RESTful services in PHP
Consuming RESTful Web services in PHP
YQL:: Select * from Internet
Does REST Change the Game for IAM?
Defcon 20-zulla-improving-web-vulnerability-scanning
Defcon 20-zulla-improving-web-vulnerability-scanning
Defending Your Frontend
12 core technologies you should learn, love, and hate to be a 'real' technocrat
ekbpy'2012- Юрий Юревич - Как сделать REST API на Python
Visualizing MVC, and an introduction to Giotto
Creating an Effective Mobile API
Hosting as a Framework
OAuth 2.0 and Mobile Devices: Is that a token in your phone in your pocket or...
Ad

Recently uploaded (20)

PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
August Patch Tuesday
PDF
Getting Started with Data Integration: FME Form 101
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPTX
The various Industrial Revolutions .pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPTX
Web Crawler for Trend Tracking Gen Z Insights.pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
DP Operators-handbook-extract for the Mautical Institute
WOOl fibre morphology and structure.pdf for textiles
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
August Patch Tuesday
Getting Started with Data Integration: FME Form 101
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Final SEM Unit 1 for mit wpu at pune .pptx
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
O2C Customer Invoices to Receipt V15A.pptx
Tartificialntelligence_presentation.pptx
Taming the Chaos: How to Turn Unstructured Data into Decisions
The various Industrial Revolutions .pptx
observCloud-Native Containerability and monitoring.pptx
A contest of sentiment analysis: k-nearest neighbor versus neural network
Web Crawler for Trend Tracking Gen Z Insights.pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Enhancing emotion recognition model for a student engagement use case through...
Assigned Numbers - 2025 - Bluetooth® Document
Ad

10 things you can't do without YQL