MBTI 사주보는 챗냥이

MBTI 사주보는 챗냥이 · Actions GPT

Lunar Calendar Information API

API for retrieving lunar calendar information based on the solar calendar.

  • GET /AstroSpace/getLunCalInfoGet lunar calendar information

    Retrieves information from the lunar calendar corresponding to a given solar date.

  • GET /AstroSpace/getLunInfoGet lunar calendar information

    Retrieves information from the lunar calendar corresponding to a given lunar date.

Schéma original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "Lunar Calendar Information API",
    "version": "1.0.0",
    "description": "API for retrieving lunar calendar information based on the solar calendar."
  },
  "servers": [
    {
      "url": "https://api.aidanbio.com"
    }
  ],
  "paths": {
    "/AstroSpace/getLunCalInfo": {
      "get": {
        "summary": "Get lunar calendar information",
        "operationId": "GetLunarCalInfo",
        "description": "Retrieves information from the lunar calendar corresponding to a given solar date.",
        "parameters": [
          {
            "name": "syear",
            "in": "query",
            "required": true,
            "description": "The solar year in YYYY format.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "smonth",
            "in": "query",
            "required": true,
            "description": "The solar month in MM format.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sday",
            "in": "query",
            "required": true,
            "description": "The solar day in DD format.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shour",
            "in": "query",
            "required": true,
            "description": "The bitrh time in HH:MM format.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with lunar calendar information.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "lunYear": {
                      "type": "string",
                      "description": "Lunar year in YYYY format."
                    },
                    "lunMonth": {
                      "type": "string",
                      "description": "Lunar month in MM format."
                    },
                    "lunDay": {
                      "type": "string",
                      "description": "Lunar day in DD format."
                    },
                    "년주": {
                      "type": "string",
                      "description": "년주"
                    },
                    "월주": {
                      "type": "string",
                      "description": "월주"
                    },
                    "일주": {
                      "type": "string",
                      "description": "일주"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request was invalid."
          },
          "500": {
            "description": "Internal server error."
          }
        }
      }
    },
    "/AstroSpace/getLunInfo": {
      "get": {
        "summary": "Get lunar calendar information",
        "operationId": "GetLunarInfo",
        "description": "Retrieves information from the lunar calendar corresponding to a given lunar date.",
        "parameters": [
          {
            "name": "lyear",
            "in": "query",
            "required": true,
            "description": "The lunar year in YYYY format.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lmonth",
            "in": "query",
            "required": true,
            "description": "The lunar month in MM format.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lday",
            "in": "query",
            "required": true,
            "description": "The lunar day in DD format.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lhour",
            "in": "query",
            "required": true,
            "description": "The bitrh time in HH:MM format.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with lunar calendar information.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "년주": {
                      "type": "string",
                      "description": "년주"
                    },
                    "월주": {
                      "type": "string",
                      "description": "월주"
                    },
                    "일주": {
                      "type": "string",
                      "description": "일주"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request was invalid."
          },
          "500": {
            "description": "Internal server error."
          }
        }
      }
    }
  }
}