返回顶部
s

sonarbay-news声纳新闻搜索

Search and analyze global news using SonarBay News Intelligence. Provides real-time access to 7 days of worldwide news coverage via CLI or REST API. Use when the user needs news search, trending entities, mention counts over time, or any news-related data analysis.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
88
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

sonarbay-news

SonarBay 新闻情报

实时获取过去7天的全球新闻,每15分钟更新一次。收录来自全球数千个来源的约10万+篇文章。

命令行界面

访问SonarBay的主要方式。

安装

bash

Mac/Linux


curl -fsSL https://sonarbay.com/install.sh | sh

Windows (PowerShell)

irm https://sonarbay.com/install.ps1 | iex

搜索新闻

bash
sonarbay search AI监管
sonarbay search 气候变化 -n 20 -s newest
sonarbay search 特斯拉 --country US --source reuters.com

标志说明
-n <数量>每页结果数(默认:10)
-p <页码>
页码(默认:1) | | -s <排序> | relevance(默认)、newest、oldest | | --country <代码> | 按国家代码筛选(例如US、IN、DE) | | --source <域名> | 按来源域名筛选 | | --json | 输出原始JSON格式,便于管道处理 |

热门实体

bash
sonarbay trending
sonarbay trending -t organizations -w 48h -n 10

标志说明
-t <类型>persons(默认)、organizations、countries、source
-w <时间窗口>
时间窗口:1h、6h、12h、24h(默认)、48h、7d | | -n <数量> | 结果数量(默认:20) |

时间序列计数

bash
sonarbay counts 比特币 -i 1h -w 72

标志说明
-i <间隔>桶大小:15m、1h(默认)、6h、1d
-w <小时>
回溯窗口小时数(默认:24) |

其他命令

bash
sonarbay status # 健康检查
sonarbay update # 自动更新至最新版本
sonarbay --version # 显示版本号

管道友好

所有命令均支持--json参数,便于脚本编写和管道处理:

bash
sonarbay search OpenAI --json | jq .results[].title
sonarbay trending --json | jq .trending[:5]
sonarbay counts 通胀 --json | jq .buckets[] | select(.count > 100)

常见模式

持续监控某个话题

  1. 1. 运行sonarbay counts 话题 -w 72查看趋势
  2. 识别直方图中的峰值
  3. 运行sonarbay search 话题 -s newest查找触发峰值的原因

发现新闻人物

  1. 1. 运行sonarbay trending -t persons或-t organizations
  2. 搜索特定实体获取相关文章

比较不同来源的报道

  1. 1. 使用不同的--source筛选条件搜索同一话题
  2. 比较结果数量和文章标题

REST API(备用方案)

如果命令行界面不可用,可直接使用REST API。

基础URL:https://sonarbay.com

端点说明
GET /v1/search?q=<查询>&per_page=10&sort=relevance搜索文章
GET /v1/trending?type=persons&hours=24&limit=20
热门实体 |
| GET /v1/counts?q=<查询>&interval=1h&hours=24 | 时间序列计数 |
| GET /v1/article/ | 按ID获取单篇文章 |
| GET /v1/status | 健康检查 |

所有端点均返回JSON格式。无需身份验证。

数据详情

  • - 覆盖范围:7天滚动窗口,约10万+篇文章
  • 更新频率:每15分钟
  • 来源:数千家全球新闻媒体
  • 语言:主要为英语,支持多语言覆盖
  • 每篇文章字段:标题、来源、URL、日期(ISO格式)、国家、地点名称
  • 国家代码:ISO两位字母代码(US、UK、IN、DE等)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 sonarbay-news-1775909123 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 sonarbay-news-1775909123 技能

通过命令行安装

skillhub install sonarbay-news-1775909123

下载

⬇ 下载 sonarbay-news v1.0.0(免费)

文件大小: 2.24 KB | 发布时间: 2026-4-12 11:29

v1.0.0 最新 2026-4-12 11:29
Initial release of SonarBay News Intelligence.

- Provides real-time access to 7 days of global news (~100K+ articles, updated every 15 minutes).
- Search news, analyze mention counts, and discover trending entities using a CLI or REST API.
- Flexible filtering by keyword, country, source, time window, and entity type.
- All commands support JSON output for easy scripting and integration.
- No authentication required; REST API serves as a fallback for news data access.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部