YQL (IITK PPT)
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

YQL (IITK PPT)

on

  • 834 views

 

Statistics

Views

Total Views
834
Views on SlideShare
833
Embed Views
1

Actions

Likes
0
Downloads
14
Comments
2

1 Embed 1

https://twitter.com 1

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

YQL (IITK PPT) Presentation Transcript

  • 1. YQL Markandey Singh(HackU IIT Kanpur)
  • 2. Hello
  • 3. I amMarkandey
  • 4. I am{Markandey}
  • 5. Yahoo Query Language
  • 6. YQL is not alanguage
  • 7. The YQL Web Service enables applications to query,filter, and combine data from different sourcesacross the Internet.
  • 8. This is YQL ConsoleYQL is not a language
  • 9. URL output http://query.yahooapis.com/{query}<xml> { ‘json’:’json’</xml }
  • 10. Lets see with example
  • 11. select * from flickr.photos.interestingness
  • 12. Here is the code
  • 13. JSON{ “name”: “markandey”}
  • 14. JSON with callbackfoo ({ “name”: “markandey”});
  • 15. This is what you gethttp://bit.ly/yqlflickr
  • 16. Page Scrapingselect * from html where url=“------" and xpath=“--------”;
  • 17. Faculty at IIT Kanpur
  • 18. URL select * from html whereurl=“http://www.cse.iitk.ac.in/peopl e/faculty.html" and xpath=“……..”;
  • 19. XPATH select * from html whereurl=“http://www.cse.iitk.ac.in/peopl e/faculty.html" and xpath=“//div[@id="permanent- faculty"]/ul//a”;
  • 20. This is what You get http://bit.ly/ iitkfaculty
  • 21. ChromYQLip chromy-clip
  • 22. Content Analysis with YQL http://bit.ly/yqlcap
  • 23. One catch with CAP
  • 24. One catch with CAP URL length is limited , so you have to switch back to POST, method on YQL.
  • 25. iTunes Store Top 10 Songs
  • 26. iTunes Store Top 10 Songs
  • 27. Youtube search
  • 28. Language sugar: randomize
  • 29. Some more???
  • 30. Some more???
  • 31. Lets see some more hacks
  • 32. Picture mehttp://bit.ly/pikme
  • 33. What else YQL can do????
  • 34. You can create your own tableRead morebit.ly/yqlODT
  • 35. My random hello!! table
  • 36. You can storesecrets on YQL
  • 37. Twitter oauthSELECT * FROM twitter.STATUS.timeline.friendsWHERE oauth_consumer_key = 9DiJt6Faw0Dyr61tVOATAAND oauth_consumer_secret =XBF9j0B2SZAOWg44QTu6fCwYy5JtivoNNpvJMs6cAAND oauth_token = 18342542-NkgUoRinvdJVILEwCUQJ3sL2CIm2ZwzS5jjj2Lg7yAND oauth_token_secret =D6ewAzsueTzQmrAJGFH0phV5zgWT88FOtcMeqW4YeI; oauth_consumer_key oauth_consumer_secret YQL oauth_token Local storage oauth_token 38
  • 38. Read more here http://bit.ly/yqloauth
  • 39. More Hacks example herehttp://www.purplegene.com/ http://bit.ly/markhack
  • 40. Siri vs fake
  • 41. Reach me@markandey