Fetches Google Trends data including daily trending topics, real-time trends, interest by region, related topics, related queries, and autocomplete suggestions. Use when the user asks about trending searches, search popularity, keyword trends, or Google Trends data.
使用捆绑脚本获取Google Trends数据。无需API密钥。
从技能目录运行脚本:
bash
node scripts/trends.mjs <命令> [选项]
| 命令 | 描述 |
|---|---|
| daily-trends | 获取每日热门搜索话题 |
| realtime-trends |
美国每日热门话题:
bash
node scripts/trends.mjs daily-trends --geo US
实时趋势(最近4小时):
bash
node scripts/trends.mjs realtime-trends --geo US --hours 4
自动补全建议:
bash
node scripts/trends.mjs autocomplete 人工智能
探索关键词:
bash
node scripts/trends.mjs explore 机器学习 --geo US --time now 7-d
按地区兴趣:
bash
node scripts/trends.mjs interest-by-region 比特币 --geo US --resolution REGION
相关主题:
bash
node scripts/trends.mjs related-topics Python编程 --geo US
相关查询:
bash
node scripts/trends.mjs related-queries Python编程 --geo US
每个命令的完整选项详情,请参见 reference.md。
所有命令均以JSON格式输出到标准输出。解析输出以提取用户所需的相关数据。根据上下文以可读格式(表格、列表、摘要)呈现结果。
如果Google对请求进行速率限制,脚本将使用指数退避策略重试(最多3次重试)。如果仍然失败,请通知用户并建议等待后重试。
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 google-trends-api-1775932992 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 google-trends-api-1775932992 技能
skillhub install google-trends-api-1775932992
文件大小: 7.69 KB | 发布时间: 2026-4-12 10:08