> For the complete documentation index, see [llms.txt](https://pynytimes.michadenheijer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pynytimes.michadenheijer.com/metadata/archive-metadata.md).

# 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

```python
NYTAPI.archive_metadata(date)
```

### Parameters

| Variables | Description                       | Data type           | Required |
| --------- | --------------------------------- | ------------------- | -------- |
| `date`    | Date of month of all the metadata | `datetime.datetime` | True     |

## Example

```python
import datetime

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