Your SlideShare is downloading. ×
0
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....
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
U
R
Ls
do
not require
O
A
uthRaw 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
d...
Anatomy of a simple table showing table url, base
api endpoint, and input definitions
Tables can be very simple
Inputdefin...
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
C
...
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...
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.c...
Hack Ideas
• Plurk tables
Upcoming SlideShare
Loading in...5
×

Taiwan Open Hack 2009: Yahoo! Query Language

1,814

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,814
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
20
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Taiwan Open Hack 2009: Yahoo! Query Language"

  1. 1. Erik Eldridge Slideshare.net/erikeldridge Yahoo!Kimo Introduction to the Yahoo! Query Language
  2. 2. Presentation structure • Yahoo! Query Language (YQL) overview • The YQL Console • YQL Open Tables • Examples of YQL usage
  3. 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. 4. Presentation structure • Yahoo! Query Language (YQL) overview • The YQL Console • YQL Open Tables • Examples of YQL usage
  5. 5. The YQL statement to run The YQL statement to run
  6. 6. Yahoo! starts us off w/ several pre-defined “tables” Predefined YQL data tables
  7. 7. XML response from a public data request Public U R Ls do not require O A uthRaw XML output
  8. 8. Presentation structure • Yahoo! Query Language (YQL) overview • The YQL Console • YQL Open Tables • Examples of YQL usage
  9. 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. 10. Anatomy of a simple table showing table url, base api endpoint, and input definitions Tables can be very simple Inputdefinition N ative YQ L query E4X
  11. 11. Using a custom table in the console Specifying table w/ “use” Transcript HTML output
  12. 12. All community tables in the console are open source and available in githubDefault behavior of the Yahoo! Weather table C om m unity tables show n in YQ L console Hack idea: Plurk table
  13. 13. Presentation structure • Yahoo! Query Language (YQL) overview • The YQL Console • YQL Open Tables • Examples of YQL usage
  14. 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: YQ L is greatform obile apps
  15. 15. Search Flickr photos by celestial location select * from flickr.photos.astro …
  16. 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. 17. Hack Ideas • Plurk tables
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×