Traditional Culture Encyclopedia - Almanac inquiry - 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:Dreaming of the omen of fishing falling into a fish pond
- Next article:Date of birth and date of death.
- Related articles
- 10 month old yellow season season query
- Laohuangli lottery 3D
- Dreaming about the death of someone else's wife
- I dreamed that I was holding the old lady's hand.
- Engagement = marriage?
- 8 1 year belongs to the yellow calendar of chickens.
- March 2023 10 list of auspicious days for visiting relatives is it appropriate to visit relatives on February 2023 19?
- Who knows which direction the bedside faces? Please let me know!
- Gregorian calendar 202 1.4.23
- August 2022 is an auspicious day for caesarean section, and August 2022 is a suitable day for caesarean section.