Archive Metadata

Load all metadata from a specific month. Note: This loads a very large JSON file (~20 MB), thus likely it takes a while.

Usage

NYTAPI.archive_metadata(date)

Parameters

VariablesDescriptionData typeRequired

date

Date of month of all the metadata

datetime.datetime

True

Example

import datetime

data = nyt.archive_metadata(
    date = datetime.datetime(2019, 1, 1)
)

Last updated