GET /fun/date/:month/:day
获取特定日期(月和日)的历史知识。返回该日期在历史上发生的有趣事件,例如「3 月 24 日是 1989 年 Exxon Valdez 石油泄漏事故发生的日子」。适用于每日历史问答功能、生日趣闻、教育日历应用和「历史上的今天」小组件。数据来自 Numbers API。
month
必填
Month
day
必填
Day
| 名称 | 必填 | 默认值 | 描述 |
|---|---|---|---|
month |
是 | - | Month |
day |
是 | - | Day |
curl https://nordapi.ee/api/v1/fun/date/3/24
curl https://nordapi.ee/api/v1/fun/date/3/24
curl https://nordapi.ee/api/v1/fun/date/1/1
curl https://nordapi.ee/api/v1/fun/date/12/25
HTTP 502: {
"error": "numbersapi returned 404",
"success": false
}