Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Girl Geek Dinner  YQL <ul><li>Pratibha Gannavarapu & Allan Shone </li></ul><ul><li>Yahoo!7 </li></ul><ul><li>17 th  June 2...
Pratibha Gannavarapu Technical yahoo Who Am I?
The best way to mashup data from the web! What am I doing here tonight?
<ul><li>There is abundant data on the web! </li></ul><ul><ul><li>Web pages </li></ul></ul><ul><ul><li>Web services </li></...
Problem! <ul><ul><li>Locating the right URLs for accessing them  </li></ul></ul><ul><ul><li>Going through API documentatio...
<ul><li>Need easier way to access this data! </li></ul><ul><ul><li>Pipes </li></ul></ul><ul><ul><li>YQL </li></ul></ul>Sol...
<ul><ul><li>Pipes is an online service that lets you remix popular feed types and create data mashups using a visual edito...
<ul><ul><li>RESTful webservice call </li></ul></ul><ul><ul><li>Select {what} from {service} where {condition}   </li></ul>...
  select * from flickr.photos.search where text=&quot;Geek Girls Dinner Sydney Yahoo&quot; limit 3     An Example
<ul><li>REST query format </li></ul><ul><li>http://query.yahooapis.com/v1/public/yql?q={QUERY}&format={FORMAT} </li></ul><...
http://developer.yahoo.com/yql/console/ Lets try our Flickr example  here Console!
show tables; What data is available?
<ul><li>No </li></ul><ul><li>Open Tables </li></ul><ul><ul><ul><ul><ul><li>Create and use your own table definitions </li>...
<ul><ul><li>XML file with the following info: </li></ul></ul><ul><ul><ul><li>Authentication and Security Options </li></ul...
http://www.datatables.org/flickr/flickr.auth.frob.xml Example definition
<ul><li>Using IN </li></ul><ul><li>select * from  search.termextract  where context in ( select description from rss where...
<ul><li>select * from html where url=‘http://www.news.com.au/' and xpath='//h3/a’ limit 5 </li></ul><ul><li>Console </li><...
http://stills360.com/demos/yql.html An example!
<ul><li>Makes data accessing more easier </li></ul><ul><li>More easier for developers </li></ul><ul><li>Access Y! data </l...
http://developer.yahoo.com/yql http://github.com/ http://www.wait-till-i.com/   -  Chris Heilmann  Thank you! Resources
Upcoming SlideShare
Loading in …5
×

YQL Presentation at Geek Girls Dinner Sydney

2,259 views

Published on

This presso gives you an overview of Yahoo!'s YQL and its advantages and some examples! A few of the examples are inspired from Chris Heilmann's presentation too!

Published in: Technology
  • Be the first to comment

  • Be the first to like this

YQL Presentation at Geek Girls Dinner Sydney

  1. 1. Girl Geek Dinner YQL <ul><li>Pratibha Gannavarapu & Allan Shone </li></ul><ul><li>Yahoo!7 </li></ul><ul><li>17 th June 2009 </li></ul>
  2. 2. Pratibha Gannavarapu Technical yahoo Who Am I?
  3. 3. The best way to mashup data from the web! What am I doing here tonight?
  4. 4. <ul><li>There is abundant data on the web! </li></ul><ul><ul><li>Web pages </li></ul></ul><ul><ul><li>Web services </li></ul></ul><ul><ul><li>RSS </li></ul></ul><ul><ul><li>CSV </li></ul></ul>Good Thing About Web!
  5. 5. Problem! <ul><ul><li>Locating the right URLs for accessing them  </li></ul></ul><ul><ul><li>Going through API documentation </li></ul></ul>
  6. 6. <ul><li>Need easier way to access this data! </li></ul><ul><ul><li>Pipes </li></ul></ul><ul><ul><li>YQL </li></ul></ul>Solution!
  7. 7. <ul><ul><li>Pipes is an online service that lets you remix popular feed types and create data mashups using a visual editor </li></ul></ul><ul><ul><li>There are several modules to fetch the data and other mechanisms such as sort, filtering etc. </li></ul></ul><ul><ul><li>Once a pipe is built, it can be accessed and build your app based on it. </li></ul></ul>Pipes!
  8. 8. <ul><ul><li>RESTful webservice call </li></ul></ul><ul><ul><li>Select {what} from {service} where {condition} </li></ul></ul><ul><ul><li>Returns XML or JSON </li></ul></ul>What is YQL?
  9. 9.   select * from flickr.photos.search where text=&quot;Geek Girls Dinner Sydney Yahoo&quot; limit 3     An Example
  10. 10. <ul><li>REST query format </li></ul><ul><li>http://query.yahooapis.com/v1/public/yql?q={QUERY}&format={FORMAT} </li></ul><ul><li>Format xml or json </li></ul>Using from within a script!
  11. 11. http://developer.yahoo.com/yql/console/ Lets try our Flickr example here Console!
  12. 12. show tables; What data is available?
  13. 13. <ul><li>No </li></ul><ul><li>Open Tables </li></ul><ul><ul><ul><ul><ul><li>Create and use your own table definitions </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>Enables YQL to bind to any data source through the SQL-like syntax and fetch data. </li></ul></ul></ul></ul></ul>Only Y! data??
  14. 14. <ul><ul><li>XML file with the following info: </li></ul></ul><ul><ul><ul><li>Authentication and Security Options </li></ul></ul></ul><ul><ul><ul><li>Sample Query </li></ul></ul></ul><ul><ul><ul><li>YQL Data Structure </li></ul></ul></ul><ul><ul><ul><li>Pagination Options </li></ul></ul></ul>Defining Open Data Tables
  15. 15. http://www.datatables.org/flickr/flickr.auth.frob.xml Example definition
  16. 16. <ul><li>Using IN </li></ul><ul><li>select * from search.termextract where context in ( select description from rss where url='http://stills360.com/blog/feed/' limit 3 ) </li></ul><ul><li>Console </li></ul>More Examples
  17. 17. <ul><li>select * from html where url=‘http://www.news.com.au/' and xpath='//h3/a’ limit 5 </li></ul><ul><li>Console </li></ul><ul><li>RSS Feeds </li></ul><ul><li>select * from rss where url=“ http://stills360.com/blog/feed ” </li></ul>More examples
  18. 18. http://stills360.com/demos/yql.html An example!
  19. 19. <ul><li>Makes data accessing more easier </li></ul><ul><li>More easier for developers </li></ul><ul><li>Access Y! data </li></ul><ul><li>Add your own open tables </li></ul><ul><li>select * from {atom, csv, html, rss, feed, table } </li></ul><ul><li>In short it is select * from Internet </li></ul>Summary
  20. 20. http://developer.yahoo.com/yql http://github.com/ http://www.wait-till-i.com/ - Chris Heilmann Thank you! Resources

×