Open Hack NYC - Yahoo - Oct 2009
-
Upload
derek-gottfrid -
Category
Technology
-
view
4.003 -
download
2
description
Transcript of Open Hack NYC - Yahoo - Oct 2009
Insert Subtitle
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
That’s us!
Core Purpose
Core Purpose
Enhance society by creating, collecting and distributing high quality news, information and entertainment.
APIs
APIsNY State Legislaturemember and committee info.
Times TagsNYT standardized terms
TimesPeopleprofile and activity data
Movie Reviews reviews, summaries, critics’ picks
Campaign Financecampaign contribution & expenditure data
Congressional Votesvoting and member info.
Article Search1981 to now, facets, metadata
TimesWireup-to-the-minute links and metadata
Real Estateaggregate listings and sales data
Communityuser-generated comments
Bestsellersrankings, lists, reviews
http://developer.nytimes.com
http://open.nytimes.com
Let’s Build Something
Grab a TimesPeople user’s network recommendations and sync them to InstaPaper
TimesPeople
TimesPeople
TimesPeople
TimesPeople
Goal
Grab my network’s recommendations and sync them to InstaPaper
TimesPeople API
Retrieve Users – Profile– Activities– Newsfeed– Followers– Following
User Lookup MD5 hash of e-
User Lookup
http://api.nytimes.com/svc/timespeople/api/v1/user/2eaf32ad1f520768c2ff97c9689fb94c/id.xml?api-key=####
Get the User’s Newsfeed
http://api.nytimes.com/svc/timespeople/api/v1/user/52396025/newsfeed.xml?api-key=####
YQL
YQL for User Lookup
insert into yql.storage.admin (value) values ('foo');
YQL for User’s Newsfeed
YQL for InstaPaper
On to the Code…
Execute YQL
Lookup User ID
Get Newsfeed
Filter, Uniq, Count & Sort Recommendations
Insert Into InstaPaper
Big Slide of Code - Review
Resources
Code - http://github.com/derekg/ TimesPeople-InstaPaper-Sync
Demo - http://tp-ip-sync.appspot.com
More Coding Fun
Article Search API Facets: The Hidden Secret
NYT Article Trender
APIsNY State Legislaturemember and committee info.
Times TagsNYT standardized terms
TimesPeopleprofile and activity data
Movie Reviews reviews, summaries, critics’ picks
Campaign Financecampaign contribution & expenditure data
Congressional Votesvoting and member info.
Article Search1981 to now, facets, metadata
TimesWireup-to-the-minute links and metadata
Real Estateaggregate listings and sales data
Communityuser-generated comments
Bestsellersrankings, lists, reviews
And now for the totally useless
And now for the totally useless MJ + News
And now for the totally useless MJ + News
Echo Nest API + TimesWire API + Code=
The Worst Podcast Ever
The APIs http://developer.nytimes.com
The blog http://open.nytimes.com