Chinese BaZi Fortune Teller (参天八字算命, 精准排盘解读) (GPT): Difference between revisions

no edit summary
No edit summary
No edit summary
Line 47: Line 47:


*'''GetYearInfo''': This API retrieves information about a particular year in terms of BaZi, Chinese zodiac, annual influences, and monthly influences. It requires the year for which the information is needed and optionally the user's day Gan information to calculate Shi Shen (十神).
*'''GetYearInfo''': This API retrieves information about a particular year in terms of BaZi, Chinese zodiac, annual influences, and monthly influences. It requires the year for which the information is needed and optionally the user's day Gan information to calculate Shi Shen (十神).
===Website===
structifi-api.azurewebsites.net
===Privacy Policy===
https://structifi.com/privacy
===Auth===
<pre>
{"type":"none"}
</pre>
===Code===
<pre>
{"openapi":"3.1.0","info":{"title":"Get Chinese Lunar Birthday and BaZi (八字) Information","description":"Retrieves Chinese Lunar Birthday Information from standard birthday and location","version":"v1.0.0"},"servers":[{"url":"https://structifi-api.azurewebsites.net"}],"paths":{"/bazi_get_birthday_info_from_solar":{"get":{"description":"Retrieves BaZi (八字) information based on the Gregorian (solar) calendar date and location (基于公历日期和地点获取八字信息)","operationId":"GetBirthdayInfoFromSolar","parameters":[{"name":"year","in":"query","description":"Year of the solar birthday (公历生日的年份), e.g., 2023","required":true,"schema":{"type":"integer"}},{"name":"month","in":"query","description":"Month of the solar birthday (公历生日的月份), e.g., 7","required":true,"schema":{"type":"integer"}},{"name":"day","in":"query","description":"Day of the solar birthday (公历生日的日子), e.g., 21","required":true,"schema":{"type":"integer"}},{"name":"hour","in":"query","description":"Hour of the solar birthday in 24-hour format (公历生日的小时,24小时制), e.g., 15","required":true,"schema":{"type":"integer"}},{"name":"minute","in":"query","description":"Minute of the solar birthday (公历生日的分钟), e.g., 30","required":true,"schema":{"type":"integer"}},{"name":"location","in":"query","description":"Location for determining BaZi (用于确定八字的地点), default is Beijing (默认为北京)","required":false,"schema":{"type":"string"}},{"name":"gender","in":"query","description":"Gender, where 1 represents male and 0 female (性别,其中1代表男性,0代表女性), default is 1 (默认为1)","required":false,"schema":{"type":"integer"}}],"deprecated":false}},"/bazi_get_year_info":{"get":{"description":"Retrieves information about a particular year in terms of BaZi and Chinese zodiac (获取特定年份的八字,生肖,流年及流月信息)","operationId":"GetYearInfo","parameters":[{"name":"year","in":"query","description":"Year to retrieve information for (要获取信息的年份), e.g., 2024","required":true,"schema":{"type":"integer"}},{"name":"dayGan","in":"query","description":"user's day gan information to calculate Shi Shen (用户的日柱天干信息,用来计算十神), e.g., 丙","required":false,"schema":{"type":"string"}}],"deprecated":false}}},"components":{"schemas":{}}}
</pre>


==Guide==
==Guide==
1,065

edits