• Like

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.

Taiwan Open Hack 2009: Yahoo! Query Language

  • 1,752 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,752
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
20
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Erik Eldridge Slideshare.net/erikeldridge Yahoo!Kimo Introduction to the Yahoo! Query Language
  • 2. Presentation structure
    • Yahoo! Query Language (YQL) overview
    • The YQL Console
    • YQL Open Tables
    • Examples of YQL usage
  • 3. 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
  • 4. Presentation structure
    • Yahoo! Query Language (YQL) overview
    • The YQL Console
    • YQL Open Tables
    • Examples of YQL usage
  • 5. The YQL statement to run The YQL statement to run
  • 6. Yahoo! starts us off w/ several pre-defined “tables” Predefined YQL data tables
  • 7. XML response from a public data request Public URLs do not require OAuth Raw XML output
  • 8. Presentation structure
    • Yahoo! Query Language (YQL) overview
    • The YQL Console
    • YQL Open Tables
    • Examples of YQL usage
  • 9. Anyone can create a table for yql. Seeing the community tables in the console Now showing community tables Pulling table defs from datatables.org
  • 10. 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
  • 11. Using a custom table in the console Specifying table w/ “use” Transcript HTML output
  • 12. 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
  • 13. Presentation structure
    • Yahoo! Query Language (YQL) overview
    • The YQL Console
    • YQL Open Tables
    • Examples of YQL usage
  • 14. 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
  • 15. Search Flickr photos by celestial location select * from flickr.photos.astro …
  • 16. Thank You!
    • Resources:
      • delicious.com/erikeldridge/ taiwanhackday09+presentation+yql
    • Follow me on Twitter:
      • Twitter.com/erikeldridge
    • Get these slides on Slideshare:
      • Slideshare.net/erikeldridge
  • 17. Hack Ideas
    • Plurk tables