Last updated 1 year ago
Load metadata of the latest articles.
NYTAPI.latest_articles(source=None, section=None)
source
Source of article (all, nyt and inyt)
all
nyt
inyt
str
False
"all"
Section of articles
section
You can find all possible sections using:
sections = nyt.section_list()
latest = nyt.latest_articles( source = "nyt", section = "books" )