Latest Articles
Load metadata of the latest articles.
NYTAPI.latest_articles(source=None, section=None)
Variables | Description | Data type | Required | Default |
---|---|---|---|---|
source | Source of article ( all , nyt and inyt ) | str | False | "all" |
Section of articles | str | False | |
You can find all possible sections using:
sections = nyt.section_list()
latest = nyt.latest_articles(
source = "nyt",
section = "books"
)
Last modified 8mo ago