跳至主要內容

日历接口

小于 1 分钟

日历接口

POST 获取今天的节日和农历

Request Url

POST https://api.xygeng.cn/openapi/day

Response Examples

成功

{
  "code": 200,
  "data": {
    "date": "2023-12-15",
    "today": true,
    "leap": false,
    "sign": "射手座",
    "solar": {
      "year": 2023,
      "month": 12,
      "date": 15,
      "day": "星期五"
    },
    "lunar": {
      "year": "癸卯",
      "animal": "兔",
      "lunar_month": "甲子",
      "month": "冬月",
      "lunar_day": "丁未",
      "date": "初三",
      "term": null
    },
    "festival": []
  },
  "error": null,
  "updateTime": 1702630783595
}
上次编辑于:
贡献者: xygengcn