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.
NYTAPI.archive_metadata(date)
Variables | Description | Data type | Required |
---|---|---|---|
date | Date of month of all the metadata | datetime.datetime | True |
import datetime
data = nyt.archive_metadata(
date = datetime.datetime(2019, 1, 1)
)
Last modified 8mo ago