Traditional Culture Encyclopedia - The 24 Solar Terms - Description of API interface for lunar calendar query
Description of API interface for lunar calendar query
It is generally implemented by JS, and there are few Java versions. I observed more than N Java versions on the Internet, and there were basically problems, so I made up my mind to translate Javascript into Java, and this interface came into being.
Now our website is provided in incognito, with high response efficiency and unlimited times. The key is free, and it provides JSON return.
The data returned by the interface is very comprehensive, such as: lunar calendar, yellow calendar, taboo, week, zodiac, monthly solar terms, leap month, big month and so on.
Parameter description: the format is yyyy-MM-dd, and parameters can be omitted. The default is today, just get the request.
Lunar investigation demonstration
Let me test the lunar calendar's request for the day. The link is:/open/API/lunar/json.shtml.
The success status returned is: 200 and the failure status is 500.
Moon query JSON return mode (successful)
Moon query JSON return mode (failed)
In case of failure, it is usually a parameter problem. Parameters are not recognized and rules are not followed. The format is YY-MM-DD, such as 20 17-02-02.
Lunar query JSON return method, specify the date.
Let me test the lunar calendar's request for the day. The link is: /open/api/lunar/json.shtml? Date=20 17-05-27, and the parameter can be 20 17-5-27.
Please refer to the error message above for the successful result of the request.
Note: Click on me to view the original webpage.
- Previous article:1996 horoscope fortune-telling 16 June to 17 July
- Next article:Why don't people have more solar terms when opening a shop?
- Related articles
- The origin of Jing Zhe!
- April 25, 2022, Gregorian calendar query
- Teaching plan of painting Lantern Festival in large class
- Does Xiaoman eat beets or bitter vegetables?
- Where is the photoelectric sensor of Tuoang Rizhao?
- How to release Honda after locking the throttle
- The origin of Tomb-Sweeping Day is about fifty words.
- Why is November of the lunar calendar also called the winter moon?
- How to process bamboo shoots?
- Why is there a difference between air conduction and bone conduction hearing AIDS?