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.

barcampla_boss_yql

1,305 views

Published on

Barcamp LA presentation on Yahoo! BOSS and YQL (including open data tables & execute)

Published in: Technology, Sports

barcampla_boss_yql

  1. 1. Yahoo! Open Technologies Jonathan LeBlanc – Technology Evangelist Yahoo! Developer Network – Partner Integrations Blog: www.nakedtechnologist.com Twitter: jcleblanc
  2. 2. Build Your Own Search Service 2
  3. 3. How Do I Use It? Development and Stuff 3
  4. 4. BOSS – Requesting Data http://boss.yahooapis.com/ysearch/{service}/v1/ {query}?appid={yourBOSSappid}&[params] Params • start • format • count • callback • lang • sites • region 4
  5. 5. What Can I Build With This Thing? BOSS Examples in Practice 5
  6. 6. New Presentation Models 6
  7. 7. Client / Browser Integrations 7
  8. 8. New Ranking Models 8
  9. 9. Vertical/niche search products 9
  10. 10. Yahoo! Query Language (YQL) SELECT * FROM Internet 10
  11. 11. 11
  12. 12. SELECT * FROM Internet 12
  13. 13. 13
  14. 14. 14
  15. 15. YQL – Query Structure SELECT myColumn, myTitle FROM myTable(0, 50) WHERE myColumn = 'value' AND myTitle = 'title‘ LIMIT 3 OFFSET 10 | sort(field='myColumn') | reverse() 15
  16. 16. YQL – Available Tables YQL Command: SHOW tables (77 Standard / 147 with community) <table>atom</table> <table>music.release.artist</table> <table>social.connections</table> <table>csv</table> <table>music.release.id</table> <table>social.contacts</table> <table>feed</table> <table>music.release.popular</table> <table>social.presence</table> <table>flickr.photos.exif</table> <table>music.release.search</table> <table>social.profile</table> <table>flickr.photos.info</table> <table>music.track.id</table> <table>social.updates</table> <table>flickr.photos.interestingness</table> <table>music.track.popular</table> <table>upcoming.category</table> <table>flickr.photos.recent</table> <table>music.track.search</table> <table>upcoming.country</table> <table>flickr.photos.search</table> <table>music.video.category</table> <table>upcoming.events</table> <table>flickr.photos.sizes</table> <table>music.video.id</table> <table>upcoming.events.bestinplace</table> <table>flickr.places</table> <table>music.video.popular</table> <table>upcoming.groups</table> <table>flickr.places.info</table> <table>music.video.search</table> <table>upcoming.metro</table> <table>geo.places</table> <table>music.video.similar</table> <table>upcoming.state</table> <table>geo.places.ancestors</table> <table>mybloglog.community.find</table> <table>upcoming.user</table> <table>geo.places.belongtos</table> <table>mybloglog.member</table> <table>upcoming.venue</table> <table>geo.places.children</table> <table>mybloglog.member.contacts</table> <table>uritemplate</table> <table>geo.places.neighbors</table> <table>mybloglog.member.newwithcontacts</table> <table>weather.forecast</table> <table>geo.places.parent</table> <table>mybloglog.member.newwithme</table> <table>xml</table> <table>geo.places.siblings</table> <table>mybloglog.members.find</table> <table>yahoo.identity</table> <table>geo.placetypes</table> <table>mybloglog.stats.find</table> <table>yap.setsmallview</table> <table>gnip.activity</table> <table>rss</table> <table>yql.admin.blockedips</table> <table>html</table> <table>search.images</table> <table>yql.admin.blockedscripts</table> <table>json</table> <table>search.news</table> <table>local.search</table> <table>search.siteexplorer.inlinks</table> <table>microformats</table> <table>search.siteexplorer.pages</table> <table>music.artist.id</table> <table>search.spelling</table> <table>music.artist.popular</table> <table>search.suggest</table> <table>music.artist.search</table> <table>search.termextract</table> <table>music.artist.similar</table> <table>search.web</table> 16
  17. 17. YQL – Table Contents YQL Command: DESC social.connections 17
  18. 18. YQL - Running a Query http://query.yahooapis.com/v1/yql?[params] http://query.yahooapis.com/v1/public/yql?[params] Params • q=[QUERY] • format=[xml / json] • callback=[function name] • diagnostics=[true / false] 18
  19. 19. YQL – Output Types 19
  20. 20. YQL Open Data Tables Structure the internet 20
  21. 21. YQL – Open Data Tables 21
  22. 22. YQL – Using an Open Data Table USE ‘{TABLE URL}’ as digg; SELECT * FROM digg WHERE topic=‘apple’; 22
  23. 23. YQL Execute Augment the Internet 23
  24. 24. 24
  25. 25. 25
  26. 26. End Result What’s this data going to do for me? 26
  27. 27. 27
  28. 28. Getting Started BOSS Main Page http://developer.yahoo.com/boss YQL Main Page http://developer.yahoo.com/yql YQL Console http://developer.yahoo.com/yql/console Developer Forums http://developer.yahoo.com/forums 28
  29. 29. Thank You Questions? 29

×