稳定、快速、免费的 API 接口服务
每日万年历
接口地址: https://api.52vmy.cn/api/wl/wnl
返回格式: JSON
请求方式: GET
请求示例: https://api.52vmy.cn/api/wl/wnl
接口定制: 点此联系管理员QQ 3037370935
默认QPS: 每2秒最多5次 Token可无视QPS
请求参数说明:
名称 | 必填 | 类型 | 说明 |
---|---|---|---|
type | 否 | string | 返回格式默认JSON可选text |
返回参数说明:
名称 | 类型 | 说明 |
---|
返回示例:
{ "animal": "龙", "avoid": "诸事不宜", "cnDay": "五", "day": "17", "gzDate": "辛巳", "gzMonth": "己巳", "gzYear": "甲辰", "isBigMonth": "", "lDate": "初十", "lMonth": "四", "lunarDate": "10", "lunarMonth": "4", "lunarYear": "2024", "month": "5", "oDate": "2024-05-16T16:00:00.000Z", "suit": "打扫.房屋清洁.馀事勿取", "term": "", "timestamp": "1715875200", "year": "2024" }
请求参数设置:
参数名称 | 参数值 |
---|---|
错误码格式说明:
名称 | 类型 | 说明 |
---|
PHP代码示例:
$type = $_GET["type"]; $url = "https://api.52vmy.cn/api/wl/wnl?type=".$type; echo file_get_contents($url);