有空接口说明文档

最后更新: Oct 1,2018

#1331#[公共]查询信息

接口地址

环境 地址

正式环境

https://open.atimer.cn/v1/allinone/query

沙箱环境

https://sandbox.atimer.cn/v1/allinone/query

 

入参规范

名称 类型 必须 描述

Client

Client

系统参数,开发者调用接口客户端信息

Time

datetime

指定查询的时间

 

出参规范

{

       Success: true,

       Error: {

              // 包含 code 和 Description

 },

       Data: {

              // 下表解释

       }

}

名称 类型 描述

ChineseLunar

string

农历

ChineseZodiac

string

干支

Constellation

string

星座

GeneralHoliday

string[]

节假

ChineseConstellation

string

星宿

ChineseSolarTerm

string

节气

 

范例

请求:

{"Time":"2019-10-23T01:32:21.4296935+08:00","Client":{"ClientKey":"WTpnUYbmA00WoTuI","Timestamp":"1571765541","Sign":"d061d96a6c6478b170ccf7436689c737","UserCode":""}}

响应:

{"Success":true,"Error":null,"Data":{"Time":"2019-10-23T01:32:21.4296935+08:00","ChineseLunar":{"Year":"二零一九年","Month":"九月","Day":"廿五","Date":"农历二零一九年九月廿五"},"ChineseZodiac":{"Year":"己亥年","Month":"甲戌月","Day":"癸巳日","Hour":"癸丑时"},"Constellation":"天蝎座","GeneralHoliday":[],"ChineseConstellation":"轸水蚓","ChineseSolarTerm":"","Huangli":{"yangli":"2019-10-23","yinli":"己亥(猪)年九月廿五","wuxing":"长流水 危执位","chongsha":"冲猪(丁亥)煞东","baiji":"癸不词讼理弱敌强 已不远行财物伏藏","jishen":"明堂 四相 阴德 不将 续世","yi":"会亲友 嫁娶 订盟 纳采 纳婿 拆卸 修造 动土 起基 竖柱 上梁 安床 会亲友 纳财","xiongshen":"天贼 游祸 血忌 重日","ji":"出行 祈福 安葬 作灶"}}}

执行耗时 255 毫秒