数据由 即刻数据 提供,帮助 AI 客户端快速接入可靠数据服务。
输入阳历日期和时间,查询: 农历日期、黄历宜忌、黄黑道、吉神凶煞、生肖、星座、节气、喜神/福神/财神方位。
bash
export JIKE_CALENDAR_LUNAR_QUERY_KEY=你的AppKey
# 或使用通用 Key
export JIKE_APPKEY=你的AppKey
bash
python3 scripts/calendar_lunar_query.py --date 2024-02-02
python3 scripts/calendar_lunar_query.py --date 2024-02-02 --time 10:30:00
python3 scripts/calendar_lunar_query.py --date 2024-02-02 --time 10:30:00 --json
直接调用 API:
text
GET https://api.jikeapi.cn/v1/calendar/lunar/detail?date=2024-02-02&time=10:30:00&appkey=YOUR_APPKEY
YYYY-MM-DD。HH:MM:SS;未提供时默认 00:00:00。python3 scripts/calendar_lunar_query.py --date <日期> [--time <时间>]。字段含义solar_date公历日期时间solar_full_string公历完整描述lunar_string农历日期lunar_full_string农历完整描述lunar_day_yi当日宜lunar_day_ji当日忌lunar_day_tian_shen_type黄道/黑道lunar_day_tian_shen_luck吉凶lunar_day_position_xi喜神方位lunar_day_position_fu福神方位lunar_day_position_cai财神方位
scripts/calendar_lunar_query.py