万年历
GET
/api/perpetualCalendar
请求参数
无
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/perpetualCalendar'
返回响应
🟢200成功
application/json
Body
status
integer
必需
message
string
必需
data
object
必需
holiday
string
假日
avoid
string
忌
animalsYear
string
属相
holidayDesc
null
假日描述
weekday
string
周几
suit
string
宜
lunarYear
string
纪年
lunar
string
农历
specificDate
string
具体日期
cyearMonth
string
年份和月份
示例
{
"status": 200,
"message": "操作成功",
"data": {
"holiday": "",
"avoid": "馀事勿取",
"animalsYear": "虎",
"holidayDesc": null,
"weekday": "星期三",
"suit": "装修.结婚.领证.动土.安床.上梁.求嗣.修造.祈福.祭祀.解除.裁衣.开光.嫁娶.伐木.冠笄.起基.竖柱.认养.作梁.放水.合帐.合帐.架马.会亲友.进人口",
"lunarYear": "壬寅年",
"lunar": "二月廿一",
"specificDate": "2022-3-23",
"cyearMonth": "2022-3"
}
}