9. ArMcle Search API
hOp://developer.nyMmes.com/docs/arMcle_search_api/
28 years of content
‐ Most recent arMcles with 'France' in the headline
‐ people most oen menMoned with George Bush in 2008
‐ recipes with associated thumbnail images
‐ First occurence of the word 'internet' (1988)
‐ how oen the term 'unemployment' was used
‐ front page arMcles that menMon 'twiOer' (11 Mmes)
‐ 2.8 million arMcles
‐ 37 searchable fields
‐ 23 navigaMonal faceOed fields
10. Facets
‐ correspond to Times controlled vocabularies
‐ staff reads all arMcles and use controlled vocabulary to tag the arMcle (if the arMcle is not really
about George Bush the arMcle won't be tagged with his name, even if he is menMoned)
‐ TimesTag API
‐ Example 1: arMcles about green energy from the business secMon that menMon Google:
hOp://api.nyMmes.com/svc/search/v1/arMcle?query=green%20energy%20nytd_secMon_facet:[Business]
%20org_facet:[GOOGLE%20INC]&api‐key=[your‐api‐key‐here]
‐ Example 2: request facets and counts for the search query:
hOp://api.nyMmes.com/svc/search/v1/arMcle?query=mortgage%20crisis&api‐key=[your‐api‐key‐
here]&facets=des_facet,per_facet,org_facet
‐ human generated facets: descripMve terms (ADVERTISING AND MARKETING), names of people,
organizaMonal names, geographic names‐ auto generated ‐ year,month,day ; material type (news,
leOer, review...) ; desk ‐ metropolitan, financial
‐ fielded search‐ date range operators supported (granular to the day)
14. InteracMve News
hOp://projects.nyMmes.com/guantanamo
•
represent ‐ pulls in data from several APIs around the site to answer the quesMon ‐
•
quot;what are my elecMves doing?”
Team of engineers/designers siNng with the journalists
•
hOp://prototype.nyMmes.com/represent/19‐Division‐St‐New‐York‐NY‐10002/
•
16. Coming Soon
Campaign Finanace API ‐ adds a layer of transparency to the news arMcles
which appear on the Mmes.
Congress API ‐ data comes directly from the US congress websites ‐ data goes back from the
early 90's ‐ townhall iphone app
New York state legislature API ‐ this data is not available
electronically anywhere
NYC crime API ‐ will track homicide in the city ‐ users enter in data as they find out
about crime in the city. EveryBlock ‐ mashes up using API