jisu-todayhistory

使用极速数据历史上的今天 API 按月份和日期查询历史上的大事、诞辰与逝世等事件。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "jisu-todayhistory" with this command: npx skills add jisuapi/todayhistory

极速数据历史上的今天(Jisu TodayHistory)

基于 历史上的今天 API 的 OpenClaw 技能,按指定的月、日查询历史上当天发生的重要事件,包括重大事件、诞辰、逝世等图文内容。

适合在对话中回答「今天在历史上发生了什么」「1 月 2 日有哪些大事」「帮我找几个今天相关的历史故事」等问题。

使用技能前需要申请数据,申请地址:https://www.jisuapi.com/api/todayhistory/

环境变量配置

# Linux / macOS
export JISU_API_KEY="your_appkey_here"

# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"

脚本路径

脚本文件:skills/todayhistory/todayhistory.py

使用方式与请求参数

当前脚本提供一个子命令:query,对应 /todayhistory/query 接口。

历史上的今天查询(/todayhistory/query)

python3 skills/todayhistory/todayhistory.py query '{"month":1,"day":2}'

请求 JSON:

{
  "month": 1,
  "day": 2
}
字段名类型必填说明
monthint
dayint

返回结果示例(节选)

[
  {
    "title": "日俄战争:驻守旅顺的俄军向日军投降。",
    "year": "1905",
    "month": "1",
    "day": "2",
    "content": "……"
  },
  {
    "title": "意大利墨西拿发生地震,20万人丧生。",
    "year": "1909",
    "month": "1",
    "day": "2",
    "content": "……"
  }
]

常见字段说明:

字段名类型说明
titlestring事件标题
yearstring年份
monthstring月份
daystring日期
contentstring事件内容

常见错误码

业务错误码(参考官网错误码参照):

代号说明
201没有信息

系统错误码:

代号说明
101APPKEY 为空或不存在
102APPKEY 已过期
103APPKEY 无请求此数据权限
104请求超过次数限制
105IP 被禁止
106IP 请求超过限制
107接口维护中
108接口已停用

在 OpenClaw 中的推荐用法

  1. 用户提问:「今天在历史上发生了什么?」代理先确定当前日期,例如 1 月 2 日。
  2. 调用:python3 skills/todayhistory/todayhistory.py query '{"month":1,"day":2}'
  3. 从返回列表中选取 3–5 条代表性事件,将 yeartitlecontent 整理成时间线式的自然语言描述,作为回答给用户。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Leads

Leads - command-line tool for everyday use

Registry SourceRecently Updated
General

Bmi Calculator

BMI计算器。BMI计算、理想体重、健康计划、体重追踪、儿童BMI、结果解读。BMI calculator with ideal weight, health plan. BMI、体重、健康。

Registry SourceRecently Updated
General

Blood

Blood — a fast health & wellness tool. Log anything, find it later, export when needed.

Registry SourceRecently Updated
General

Better Genshin Impact

📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集/挖矿/锄地 | 一条龙 | 全连音游 - UI A better genshin impact, c#, auto-play-game, automatic, g...

Registry SourceRecently Updated