Skip to content
This repository

A gem for accessing the NYTimes Article Search API

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 features
Octocat-spinner-32 lib
Octocat-spinner-32 pkg
Octocat-spinner-32 rdoc
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 HISTORY
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION.yml
Octocat-spinner-32 nytimes-articles.gemspec
= nytimes-articles

A simple GEM for interacting with the New York Times' Article Search API (


* Jacob Harris (
* Taylor Barstow (


	require 'rubygems'
	require 'nytimes-articles'
	include Nytimes::Articles
	Base.api_key = 'YOUR API KEY' 'ice cream' :title => '"ice cream"', :since => 3.weeks.ago, :fields => :basic :author => 'Sewell Chan', :facets => [:geo, :person]

See the RDOC for Article#search for better instructions on usage.


The following functionality is still to be implemented:

* Parsing multimedia and related_multimedia fields
* Coercion of some facet results into more suitable Ruby types (mostly Dates / Integer fields)
* Next / previous result set pagination (with memoization?)

Copyright (c) 2008 Jacob Harris. See LICENSE for details.
Something went wrong with that request. Please try again.