📥 返回数据结构说明

接口返回 JSON 数据,包含请求状态、新闻总数及新闻列表。

📌 顶层字段
status = 请求状态(success / error)
totalResults = 新闻总数
results = 新闻列表
nextPage = 下一页分页标识
📰 新闻对象(results)

每条新闻包含以下字段:

article_id = 新闻唯一ID
title = 新闻标题
link = 新闻链接
keywords = 关键词列表
creator = 作者
video_url = 视频地址
description = 新闻摘要
content = 新闻正文
pubDate = 发布时间
pubDateTZ = 时区
image_url = 图片地址
source_id = 来源ID
source_name = 来源名称
source_url = 来源网站
source_icon = 来源图标
source_priority = 来源优先级
language = 语言
country = 国家/地区
category = 分类
ai_tag = AI标签
ai_region = AI地区
ai_org = AI识别机构
sentiment = 情绪(positive / neutral / negative)
sentiment_stats = 情绪分布
duplicate = 是否重复新闻
📊 情绪字段说明(sentiment_stats)
positive = 正面占比
neutral = 中立占比
negative = 负面占比
🔄 分页说明
nextPage = 下一页标识

说明:

-> 将 nextPage 作为 page 参数传入,可获取下一页数据

⚠️ 注意事项
status = success 表示请求成功
status = error 时需查看错误信息
results 可能为空(无数据)
content 字段在 full_content=1 时才返回完整内容
image_url、video_url 可能为空
💻 使用建议
列表页建议使用 description 字段
详情页再加载 content 字段
建议使用 nextPage 做分页加载
可根据 sentiment 做情绪分析