Last active
December 13, 2015 22:00
-
-
Save davidcomfort/30a806666cbb1633ee59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# load nytimesarticle | |
from nytimesarticle import articleAPI | |
api = articleAPI('84560bf8f9b679d672a82dcf1a3ee2a2:9:21130963') | |
articles = api.search(q = 'Ben Carson', | |
fq = {'headline':'Ben Carson', 'source':['The New York Times']}, | |
begin_date = '2015' + '0101', | |
end_date = '2015' + '1231', | |
sort='oldest', | |
page = 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment