宝宝起名

宝宝起名 · GPT アクション

获取起名

获取起名列表以及名字解析详情

  • GET /api/v1/result/in/jieming?product_id=ji_xiang_bao_bao_qi_ming&is_solar=1&clear_hour=1&data_type=AllGetJm

    获取姓名解析

  • GET /api/v1/result/in/qiming?product_id=ji_xiang_bao_bao_qi_ming&is_solar=1&clear_hour=1GetQm

    获取名字列表

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "获取起名",
    "description": "获取起名列表以及名字解析详情",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://qm.jinhuill.cn"
    }
  ],
  "paths": {
    "/api/v1/result/in/jieming?product_id=ji_xiang_bao_bao_qi_ming&is_solar=1&clear_hour=1&data_type=All": {
      "get": {
        "description": "获取姓名解析",
        "operationId": "GetJm",
        "responses": {
          "200": {
            "description": "姓名解析详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "BaseInfo": {
                          "type": "object",
                          "description": "基本信息",
                          "properties": {
                            "name": {
                              "type": "string",
                              "description": "姓名"
                            }
                          }
                        },
                        "JieXi": {
                          "type": "object",
                          "description": "基本姓名解释",
                          "properties": {
                            "wordList": {
                              "type": "array",
                              "description": "姓名拆字集合"
                            }
                          }
                        },
                        "ShengXiao": {
                          "type": "object",
                          "description": "生肖喜忌"
                        },
                        "XiYonShen": {
                          "type": "object",
                          "description": "喜用神"
                        },
                        "LiYiLing": {
                          "type": "object",
                          "properties": {
                            "toneAnalysis": {
                              "type": "object",
                              "description": "姓名音律分析"
                            },
                            "fashionAnalysis": {
                              "type": "object",
                              "description": "姓名流行趋势"
                            }
                          }
                        },
                        "ziXingYinYi": {
                          "type": "object",
                          "description": "姓名字形音义",
                          "properties": {
                            "yuYi": {
                              "type": "object",
                              "description": "姓名寓意"
                            },
                            "hanZiJieShiContent": {
                              "type": "object",
                              "description": "姓名汉字解释"
                            },
                            "shiCiDianGuContent": {
                              "type": "object",
                              "description": "姓名诗词典故"
                            },
                            "yinLvContent": {
                              "type": "object",
                              "description": "姓名音律"
                            },
                            "ziXingJieGouContent": {
                              "type": "object",
                              "description": "姓名字形结构"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "family_name",
            "in": "query",
            "required": true,
            "description": "姓氏",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "given_name",
            "in": "query",
            "required": true,
            "description": "名字",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "gender",
            "in": "query",
            "required": true,
            "description": "性别,男为1,女为0",
            "schema": {
              "type": "integer",
              "enum": [
                1,
                0
              ]
            }
          },
          {
            "name": "birthday",
            "in": "query",
            "required": true,
            "description": "出生时间,格式为YYYYMMDDHHmm",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/result/in/qiming?product_id=ji_xiang_bao_bao_qi_ming&is_solar=1&clear_hour=1": {
      "get": {
        "description": "获取名字列表",
        "operationId": "GetQm",
        "responses": {
          "200": {
            "description": "名字列表详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "list": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Name"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "family_name",
            "in": "query",
            "required": true,
            "description": "姓氏",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "gender",
            "in": "query",
            "required": true,
            "description": "性别,男为1,女为0",
            "schema": {
              "type": "integer",
              "enum": [
                1,
                0
              ]
            }
          },
          {
            "name": "birthday",
            "in": "query",
            "required": true,
            "description": "出生时间,格式需要符合YYYYMMDDHHmm",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "is_single",
            "in": "query",
            "required": true,
            "description": "单字姓名为1,双字姓名为0",
            "schema": {
              "type": "integer",
              "enum": [
                1,
                0
              ]
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {
      "Name": {
        "type": "object",
        "properties": {
          "hanzi": {
            "type": "string",
            "description": "名字"
          },
          "pinyin": {
            "type": "string",
            "description": "名字拼音"
          },
          "wuxing": {
            "type": "string",
            "description": "名字五行"
          }
        }
      }
    }
  }
}