# NewsArticle

> Google 新闻里的一篇报道：标题、链接、媒体、作者和发布时间。

网页版：https://okdata.online/zh/docs/objects/news_article/

所有平台同一种结构。平台没有的字段为 null，meta.unavailable 会说明原因。用 fields= 只取需要的字段。

| 字段 | 类型 | 说明 |
|---|---|---|
| `rank` | integer | 在列表里的位置，从 1 开始。 |
| `title` | string | 标题。 |
| `url` | string | 文章地址。 |
| `source` | string \| null | 媒体名称。 |
| `authors` | string[] \| null | 作者（Google 列出的话）。 |
| `published_at` | string \| null | 发布时间，ISO 8601，UTC。 |
| `thumbnail_url` | string \| null | 缩略图。 |

## 返回 NewsArticle 的接口

- [Google 新闻搜索](https://okdata.online/zh/apis/google/news/search/) (`google.news.search`): $0.005/次 · 每页约 100 条结果

## 各 view 返回的字段

每一级 view 都包含上一级的字段。`view=compact` 最精简；`full` 会在 `ext` 里加上平台特有字段。

- compact：`rank`, `title`, `url`, `source`, `authors`, `published_at`
- standard：`thumbnail_url`
- full：—
