Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Taiwan Open Hack 2009: Yahoo! Query Language

on

  • 3,180 views

 

Statistics

Views

Total Views
3,180
Views on SlideShare
3,174
Embed Views
6

Actions

Likes
1
Downloads
20
Comments
0

2 Embeds 6

http://www.slideshare.net 3
http://yahoo-query-language.chayom.com 3

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Taiwan Open Hack 2009: Yahoo! Query Language Taiwan Open Hack 2009: Yahoo! Query Language Presentation Transcript

  • Erik Eldridge Slideshare.net/erikeldridge Yahoo!Kimo Introduction to the Yahoo! Query Language
  • Presentation structure
    • Yahoo! Query Language (YQL) overview
    • The YQL Console
    • YQL Open Tables
    • Examples of YQL usage
  • YQL = Yahoo! Query Language
    • SQL-like syntax
      • SELECT {fields} from {table} WHERE {key} = {value}
      • SELECT * FROM flickr.photos.search WHERE text=" 臺北 101”
      • SELECT * FROM html where url=“ http ://www.wretch.cc/”
      • SELECT * FROM flickr.photos.search WHERE has_geo="true" and woe_id in (SELECT woeid FROM geo.places WHERE text="taipei" LIMIT 1)
    • Extensible access to APIs/data
    • SELECT * FROM Internet
  • Presentation structure
    • Yahoo! Query Language (YQL) overview
    • The YQL Console
    • YQL Open Tables
    • Examples of YQL usage
  • The YQL statement to run The YQL statement to run
  • Yahoo! starts us off w/ several pre-defined “tables” Predefined YQL data tables
  • XML response from a public data request Public URLs do not require OAuth Raw XML output
  • Presentation structure
    • Yahoo! Query Language (YQL) overview
    • The YQL Console
    • YQL Open Tables
    • Examples of YQL usage
  • Anyone can create a table for yql. Seeing the community tables in the console Now showing community tables Pulling table defs from datatables.org
  • Anatomy of a simple table showing table url, base api endpoint, and input definitions Tables can be very simple Input definition Native YQL query E4X
  • Using a custom table in the console Specifying table w/ “use” Transcript HTML output
  • All community tables in the console are open source and available in githubDefault behavior of the Yahoo! Weather table Community tables shown in YQL console Hack idea: Plurk table
  • Presentation structure
    • Yahoo! Query Language (YQL) overview
    • The YQL Console
    • YQL Open Tables
    • Examples of YQL usage
  • YQL is great for mobile apps (1 request to yql for the heavy lifting results in faster apps). This app finds the locations of nearby bars: YQL is great for mobile apps
  • Search Flickr photos by celestial location select * from flickr.photos.astro …
  • Thank You!
    • Resources:
      • delicious.com/erikeldridge/ taiwanhackday09+presentation+yql
    • Follow me on Twitter:
      • Twitter.com/erikeldridge
    • Get these slides on Slideshare:
      • Slideshare.net/erikeldridge
  • Hack Ideas
    • Plurk tables