Your SlideShare is downloading. ×

Open Hack NYC - Yahoo - Oct 2009

2,348

Published on

This presentation was given Oct 9 2009 at Yahoo!'s OpenHack NYC event. Reviews NYTimes TimesOpen Developer strategy, all 11 nytimes API, and a sample app builtin using the TimesPeople APIs and …

This presentation was given Oct 9 2009 at Yahoo!'s OpenHack NYC event. Reviews NYTimes TimesOpen Developer strategy, all 11 nytimes API, and a sample app builtin using the TimesPeople APIs and InstaPaper APIs.
Code: http://github.com/derekg/TimesPeople-InstaPaper-Sync

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,348
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
35
Comments
0
Likes
3
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. Insert Subtitle
  • 2.  
  • 3.  
  • 4. Founded in 1851 – original price one cent Largest metro newspaper in the U.S. 101 Pulitzer Prizes 11 national bureaus and 26 foreign bureaus 1904 - moved to Long Acre Square
  • 5.  
  • 6.  
  • 7. That’s us!
  • 8.  
  • 9.  
  • 10. Core Purpose
  • 11. Core Purpose
    • Enhance society by creating , collecting and distributing high quality news, information and entertainment.
  • 12.  
  • 13.  
  • 14.  
  • 15.  
  • 16.  
  • 17.  
  • 18.  
  • 19.  
  • 20.  
  • 21.  
  • 22.  
  • 23.  
  • 24.  
  • 25.  
  • 26.  
  • 27. APIs
  • 28. APIs NY State Legislature member and committee info. Times Tags NYT standardized terms TimesPeople profile and activity data Movie Reviews reviews, summaries, critics’ picks Campaign Finance campaign contribution & expenditure data Congressional Votes voting and member info. Article Search 1981 to now, facets, metadata TimesWire up-to-the-minute links and metadata Real Estate aggregate listings and sales data Community user-generated comments Bestsellers rankings, lists, reviews
  • 29. http://developer.nytimes.com
  • 30. http://open.nytimes.com
  • 31.  
  • 32.  
  • 33.  
  • 34.  
  • 35.  
  • 36.  
  • 37.  
  • 38. Let’s Build Something
    • Grab a TimesPeople user’s network recommendations and sync them to InstaPaper
  • 39. TimesPeople
  • 40. TimesPeople
  • 41. TimesPeople
  • 42. TimesPeople
  • 43.  
  • 44. Goal
    • Grab my network’s recommendations and sync them to InstaPaper
  • 45. TimesPeople API
    • Retrieve Users
      • Profile
      • Activities
      • Newsfeed
      • Followers
      • Following
    • User Lookup
      • MD5 hash of e-mail
  • 46. User Lookup
    • http://api.nytimes.com/svc/timespeople/api/
    • v1/user/2eaf32ad1f520768c2ff97c9689fb94c/
    • id.xml?api-key=####
  • 47. Get the User’s Newsfeed
    • http://api.nytimes.com/svc/timespeople/api/
    • v1/user/ 52396025 /newsfeed.xml?api-key=####
  • 48. YQL
  • 49. YQL for User Lookup
  • 50.  
  • 51.  
  • 52. insert into yql.storage.admin (value) values ('foo');
  • 53.  
  • 54. YQL for User’s Newsfeed
  • 55.  
  • 56. YQL for InstaPaper
  • 57.  
  • 58.  
  • 59. On to the Code…
  • 60. Execute YQL
  • 61. Lookup User ID
  • 62. Get Newsfeed
  • 63. Filter, Uniq, Count & Sort Recommendations
  • 64. Insert Into InstaPaper
  • 65. Big Slide of Code - Review
  • 66.  
  • 67.  
  • 68.  
  • 69.  
  • 70.  
  • 71. Resources
    • Code - http://github.com/derekg/ TimesPeople-InstaPaper-Sync
    • Demo - http://tp-ip-sync.appspot.com
  • 72. More Coding Fun
    • Article Search API
      • Facets: The Hidden Secret
  • 73. NYT Article Trender
  • 74. APIs NY State Legislature member and committee info. Times Tags NYT standardized terms TimesPeople profile and activity data Movie Reviews reviews, summaries, critics’ picks Campaign Finance campaign contribution & expenditure data Congressional Votes voting and member info. Article Search 1981 to now, facets, metadata TimesWire up-to-the-minute links and metadata Real Estate aggregate listings and sales data Community user-generated comments Bestsellers rankings, lists, reviews
  • 75. And now for the totally useless
  • 76. And now for the totally useless MJ + News
  • 77. And now for the totally useless MJ + News
    • Echo Nest API + TimesWire API + Code
    • =
    • The Worst Podcast Ever
  • 78. The APIs http://developer.nytimes.com The blog http://open.nytimes.com

×