OkayAPI Docs


API Path: /api/App/Common_Date/GetSolarTerms

API Description: 输入年份获取 上一年冬至 ~ 下一年冬至

1
API Traffic
HTTP/HTTPS
Protocol
GET/POST
Method
UTF-8
Charset
JSON
Response

API Debug   


API Params

ParameterTypeRequiredDefaultNoteDescription
HTTP_APPKEYStringRequiredMIN: 32Common Put Your APPKEY
yearIntRequired0

API Debug

KEYREQUIREDVALUE
app_key *Required
year *Required

API Response

KEYTypeDescription
data.list.Y
data.list.M
data.list.D
节气名字data.list.solarTermsName

HTTP Response Code

HTTP Status CodeDescription
Http Status = 200Success
Http Status = 400表示客户端参数错误
Http Status = 404表示接口服务不存在
Http Status = 500表示服务端内部错误