Date post: | 20-Jan-2015 |
Category: |
Technology |
Upload: | yahoo-developer-network |
View: | 1,374 times |
Download: | 0 times |
YQL
Yahoo! Query Language
developer.yahoo.com/yql
Before I continue …
• Get these slides on slideshare.net/ydn
• Play along: developer.yahoo.com/yql
YQL is …
• SQL for the Web
• SELECT * FROM flickr.photos.search
Why would I use it?
• Easy, respectful HTML scraping
• Easy XML/JSON conversion
• Cross-service queries
HTML Scraping
XML to JSON
How to get started
1. Go to developer.yahoo.com/yql/console/
2. Grab REST query
3. Call REST query
YQL Console Tour
Code Example
Live Demo!
More Info
• Flickr example in PHP:nakedtechnologist.com/?p=476
• YQL w/ YUI, jQuery, JSONP:developer.yahoo.net/blog/archives/2010/03/yql_code_samples_yql_is_easy_to_use.html
• YQL community tables:github.com/yql/yql-tables
• Code sample: gist.github.com/359646