Top Stories
Usage
NYTAPI.top_stories(section=None)Parameters
Variables
Description
Data type
Required
Example
top_stories = nyt.top_stories()
# Get all the top stories from a specific category
top_science_stories = nyt.top_stories(section = "science")Last updated