SlideShare a Scribd company logo
TOOLS TO HACK WITH
       @SteveMarshall
     Dundee HackU 2011
HackU Dundee 2011: Tools to Hack With
select	
  *	
  from	
  internet




YQL uses a SQL-like query language, allowing you to create simple
queries from one API or really easily chain queries together so you only
get the data you really want, and fast.

All of this, using one language, against one endpoint that gives you
everything on the Internet.

But how do you build your queries? To the console!
This is the console. You can enter queries here…
We can do simple things like ‘Search flickr for 10 cat pictures’.

http://www.flickr.com/search/?q=cat&w=all&m=&s=
By selecting from flickr.photos.search where the text is cat.

But what if we want to do something more complex?
Let’s start by finding tweets about Egypt…

(select * from twitter.search where q='egypt')
And now, let’s make them all Spanish…

select * from google.translate where q in (select text from twitter.search
where q='egypt') and target="es";)

That’s pretty cool. What else can we do?
And now, let’s wrap a UI around that…

And we have a hack!

(http://isithackday.com/hacks/twitter-translate-form.php?
search=egypt&amount=20&language=es)
select	
  *
       from	
  query.multi
       where	
  queries	
  in
    (‘query	
  1’,	
  ‘query	
  2’,	
  
          ‘query	
  3’)


One of the most useful tables you can use, query.multi allows you to
combine multiple parallel queries into one, saving you making separate
calls to YQL for each!
social           dopplr          instapaper      nmsi            sparql
amazon           dostopsi        intuit          noaa            spotify
amee             edu             ip              npr             sunlight
answers          ericssonlabs    kiva            nyt             tarpipe
appdb            esme            lastfm          openaustralia   test
apple            etsy            limewirestore   opencalais      text
arxiv            eyefi           livedoor        opencontext     themoviedb
auth             facebook        local           openid          thetvdb
avatars          fantasysports   longurl         opensocial      timeout
aws              fcc             maps            paypal          tinysong
basecamp         filemd5         mediawikiapi    pidgets         tumblr
batlas           finance         meetup          pikchur         tvrage
bbc              fitbit          meme            plos            twfy
bible            flickr          mendeley        pubsubhubbub    twitter
bit              folderscrape    microsoft       query           ukparliament
bizrate          foursquare      misc            recovery        ukpostcode
blackcountryhi   friendfeed      mixi            rss             upcoming
story            gdacs           movies          rtm             urbanesia
boston           geo             mozillalabs     salesforce      usgs
brazil           github          museumoflond    seafoodwatch    victoriaandalbe
britishmuseum    google          on              search          rt
brooklyn         gov             music           sears           vimeo
bungie           gowalla         mybloglog       seomoz          weather
christies        greader         mynewsdesk      shelfari        wesabe
comicvine        greenbookings   ncbi            shipping        whitepages
couprecoup       guardian        nestoria        shopping        wordpress
craigslist       hackernews      netflix         shoppingcart    worldbank
darkhelmet       hatena          newegg          simplegeo       wufoo
delicious        ign             nextbus         slideshare      wunderground
digg             imdb            ngmoco          socialgraph     yahoo
digitalnz        infochimps      nmm             socialmention   yahoojp

Hundreds of APIs… all in one place. Accessible to your app…

Make your own!
Yahoo has myriad location technologies open for use, from Yahoo!
Maps’ ajax and Flash interface widgets through geocoders to services to
allow users to control how they share their location. Here are some of
my favourites:
Placemaker identifies places mentioned in text, disambiguating them
and returning unique identifiers (WOEIDs).
HackU Dundee 2011: Tools to Hack With
HackU Dundee 2011: Tools to Hack With
PlaceFinder is a geocoding Web service that converts street addresses or
place names into geographic coordinates (and vice versa).
Fire Eagle is a service to allow developers to access users’ location data
in a safe, secure way.
YUI is a collection of CSS and JavaScript components to help people build
richer, more robust web applications.

It includes tools to help you build CSS and JS, along with a library of
widgets you can drop into your app including things like autocomplete
widgets, sliders, table sorting controls, and much, much more.
FAKE IT TILL YOU MAKE IT
                     (BUT DO MAKE IT EVENTUALLY)




If you can’t find an API or library to do what you want (and it doesn’t
have to be from Mozilla or Yahoo!), fake it until you absolutely must
have real data.

Work on the core of your hack, not on infrastructure for it.
developer.yahoo.com/everything.html

More Related Content

PPTX
Unidad educativa calasanz
PDF
HackU Barcelona 2011: YQL
ZIP
Writing Code That Writes Code
PPSX
Reuters: Pictures of the Year 2016 (Part 2)
PDF
Open Source Creativity
PDF
The Six Highest Performing B2B Blog Post Formats
PDF
The Outcome Economy
PDF
32 Ways a Digital Marketing Consultant Can Help Grow Your Business
Unidad educativa calasanz
HackU Barcelona 2011: YQL
Writing Code That Writes Code
Reuters: Pictures of the Year 2016 (Part 2)
Open Source Creativity
The Six Highest Performing B2B Blog Post Formats
The Outcome Economy
32 Ways a Digital Marketing Consultant Can Help Grow Your Business

Similar to HackU Dundee 2011: Tools to Hack With (20)

PPT
Cloud mobility
PDF
Les outils WEB 2.0 des innoventeurs
PDF
Outils innoventeurs
PPTX
Sdp summit
KEY
Web414 june 2011 Meeting
PDF
Networked audiences and information flows, presented by Gilad Lotan
PDF
PyLadies Seattle - Lessons in Interactive Visualizations
PDF
Jaiku - Microblogging Tiny Social Objects On The Future Of Participatory Media
PDF
Microblogging: Tiny social objects. On the future of participatory media
PPTX
What would you do with free pictures of everything on Earth?
PDF
Open Hack London - Introduction to YQL
PDF
らくらくアップデートSparkle
PDF
AdTech: Augmented Reality, HTML5 & What's Next
PDF
Storytelling with AR HTML5 and Whats Next
PPT
Augmented Reality: A Primer for Libraries
PDF
Virtual Potential: Designing Collaborative, Creative, & Active Online Learnin...
PDF
Social Media Map 2013
PDF
Infographics Congress 2014 Moritz Stefaner
PPT
289 leigh watson healy outsell ssp community and innovation 28may2008 ppt1
PDF
Get your hands dirty with Social Software
Cloud mobility
Les outils WEB 2.0 des innoventeurs
Outils innoventeurs
Sdp summit
Web414 june 2011 Meeting
Networked audiences and information flows, presented by Gilad Lotan
PyLadies Seattle - Lessons in Interactive Visualizations
Jaiku - Microblogging Tiny Social Objects On The Future Of Participatory Media
Microblogging: Tiny social objects. On the future of participatory media
What would you do with free pictures of everything on Earth?
Open Hack London - Introduction to YQL
らくらくアップデートSparkle
AdTech: Augmented Reality, HTML5 & What's Next
Storytelling with AR HTML5 and Whats Next
Augmented Reality: A Primer for Libraries
Virtual Potential: Designing Collaborative, Creative, & Active Online Learnin...
Social Media Map 2013
Infographics Congress 2014 Moritz Stefaner
289 leigh watson healy outsell ssp community and innovation 28may2008 ppt1
Get your hands dirty with Social Software

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Approach and Philosophy of On baking technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
project resource management chapter-09.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
1. Introduction to Computer Programming.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Accuracy of neural networks in brain wave diagnosis of schizophrenia
NewMind AI Weekly Chronicles - August'25-Week II
Unlocking AI with Model Context Protocol (MCP)
Approach and Philosophy of On baking technology
Digital-Transformation-Roadmap-for-Companies.pptx
Assigned Numbers - 2025 - Bluetooth® Document
project resource management chapter-09.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Group 1 Presentation -Planning and Decision Making .pptx
A novel scalable deep ensemble learning framework for big data classification...
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
Chapter 5: Probability Theory and Statistics
Univ-Connecticut-ChatGPT-Presentaion.pdf
OMC Textile Division Presentation 2021.pptx
Hindi spoken digit analysis for native and non-native speakers
WOOl fibre morphology and structure.pdf for textiles
1. Introduction to Computer Programming.pptx

HackU Dundee 2011: Tools to Hack With

  • 1. TOOLS TO HACK WITH @SteveMarshall Dundee HackU 2011
  • 3. select  *  from  internet YQL uses a SQL-like query language, allowing you to create simple queries from one API or really easily chain queries together so you only get the data you really want, and fast. All of this, using one language, against one endpoint that gives you everything on the Internet. But how do you build your queries? To the console!
  • 4. This is the console. You can enter queries here…
  • 5. We can do simple things like ‘Search flickr for 10 cat pictures’. http://www.flickr.com/search/?q=cat&w=all&m=&s=
  • 6. By selecting from flickr.photos.search where the text is cat. But what if we want to do something more complex?
  • 7. Let’s start by finding tweets about Egypt… (select * from twitter.search where q='egypt')
  • 8. And now, let’s make them all Spanish… select * from google.translate where q in (select text from twitter.search where q='egypt') and target="es";) That’s pretty cool. What else can we do?
  • 9. And now, let’s wrap a UI around that… And we have a hack! (http://isithackday.com/hacks/twitter-translate-form.php? search=egypt&amount=20&language=es)
  • 10. select  * from  query.multi where  queries  in (‘query  1’,  ‘query  2’,   ‘query  3’) One of the most useful tables you can use, query.multi allows you to combine multiple parallel queries into one, saving you making separate calls to YQL for each!
  • 11. social dopplr instapaper nmsi sparql amazon dostopsi intuit noaa spotify amee edu ip npr sunlight answers ericssonlabs kiva nyt tarpipe appdb esme lastfm openaustralia test apple etsy limewirestore opencalais text arxiv eyefi livedoor opencontext themoviedb auth facebook local openid thetvdb avatars fantasysports longurl opensocial timeout aws fcc maps paypal tinysong basecamp filemd5 mediawikiapi pidgets tumblr batlas finance meetup pikchur tvrage bbc fitbit meme plos twfy bible flickr mendeley pubsubhubbub twitter bit folderscrape microsoft query ukparliament bizrate foursquare misc recovery ukpostcode blackcountryhi friendfeed mixi rss upcoming story gdacs movies rtm urbanesia boston geo mozillalabs salesforce usgs brazil github museumoflond seafoodwatch victoriaandalbe britishmuseum google on search rt brooklyn gov music sears vimeo bungie gowalla mybloglog seomoz weather christies greader mynewsdesk shelfari wesabe comicvine greenbookings ncbi shipping whitepages couprecoup guardian nestoria shopping wordpress craigslist hackernews netflix shoppingcart worldbank darkhelmet hatena newegg simplegeo wufoo delicious ign nextbus slideshare wunderground digg imdb ngmoco socialgraph yahoo digitalnz infochimps nmm socialmention yahoojp Hundreds of APIs… all in one place. Accessible to your app… Make your own!
  • 12. Yahoo has myriad location technologies open for use, from Yahoo! Maps’ ajax and Flash interface widgets through geocoders to services to allow users to control how they share their location. Here are some of my favourites:
  • 13. Placemaker identifies places mentioned in text, disambiguating them and returning unique identifiers (WOEIDs).
  • 16. PlaceFinder is a geocoding Web service that converts street addresses or place names into geographic coordinates (and vice versa).
  • 17. Fire Eagle is a service to allow developers to access users’ location data in a safe, secure way.
  • 18. YUI is a collection of CSS and JavaScript components to help people build richer, more robust web applications. It includes tools to help you build CSS and JS, along with a library of widgets you can drop into your app including things like autocomplete widgets, sliders, table sorting controls, and much, much more.
  • 19. FAKE IT TILL YOU MAKE IT (BUT DO MAKE IT EVENTUALLY) If you can’t find an API or library to do what you want (and it doesn’t have to be from Mozilla or Yahoo!), fake it until you absolutely must have real data. Work on the core of your hack, not on infrastructure for it.