Back to top

API Documentation

子供の名前に使える漢字API

子供の名前に使える漢字を返すAPIです。 扱う漢字は

  • 常用漢字2136字種2136字体

  • 漢字の表(一)(常用漢字の異体字でないもの)632字種650字体

  • 漢字の表(二)(常用漢字の異体字であるもの)212字種212字体

です。

for-child chars collection archetype

子供の名前に使える漢字すべての情報を取得
GET/for-child/chars

処理概要

  • 子供の名前に使える漢字すべての情報を返します。

Example URI

GET https://apino.yukiyuriweb.com/api/kanji/v1/for-child/chars
Request
HideShow
Headers
Content-Type: application/json
Accept: application/json
Response  200
HideShow

子供の名前に使える漢字すべての文字、UNICODE、画数、訓読み、音読み、部首、部首の読み、漢字の種類を返します。

Headers
Content-Type: application/json
Body
[
  {
    "character": "漢",
    "kunyomis": [
      "おとこ",
      "から"
    ],
    "onyomis": [
      "カン"
    ],
    "radical_char": "氵",
    "radical_raed": "さんずい",
    "stroke": 13,
    "types": [
      "教育漢字",
      "常用漢字"
    ],
    "unicode": "U+6F22"
  }
]
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "character": {
        "type": "string",
        "enum": [
          "漢"
        ],
        "description": "漢字"
      },
      "kunyomis": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "おとこ"
            ]
          },
          {
            "type": "string",
            "enum": [
              "から"
            ]
          }
        ],
        "description": "訓読み"
      },
      "onyomis": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "カン"
          ]
        },
        "description": "音読み"
      },
      "radical_char": {
        "type": "string",
        "enum": [
          "氵"
        ],
        "description": "部首"
      },
      "radical_raed": {
        "type": "string",
        "enum": [
          "さんずい"
        ],
        "description": "部首の読み"
      },
      "stroke": {
        "type": "number",
        "enum": [
          13
        ],
        "description": "画数"
      },
      "types": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "教育漢字"
            ]
          },
          {
            "type": "string",
            "enum": [
              "常用漢字"
            ]
          }
        ],
        "description": "漢字の種類"
      },
      "unicode": {
        "type": "string",
        "enum": [
          "U+6F22"
        ],
        "description": "UNICODE"
      }
    },
    "required": [
      "character",
      "kunyomis",
      "onyomis",
      "radical_char",
      "radical_raed",
      "stroke",
      "types",
      "unicode"
    ],
    "additionalProperties": false
  }
}

for-child char archetype

子供の名前に使える漢字の情報を取得
GET/for-child/chars/{char}

処理概要

  • charで与えられる漢字が子供の名前に使える漢字の場合には、その文字の情報を返します。

  • charが子供の名前に使える漢字でない場合には404エラーを返します。

Example URI

GET https://apino.yukiyuriweb.com/api/kanji/v1/for-child/chars/
URI Parameters
HideShow
char
string (required) Example: 

マルチバイトの漢字

Request
HideShow
Headers
Content-Type: application/json
Accept: application/json
Response  200
HideShow

charで与えられる漢字が子供の名前に使える漢字の場合に、その文字、UNICODE、画数、訓読み、音読み、部首、部首の読み、漢字の種類を返します。

Headers
Content-Type: application/json
Body
[
  {
    "character": "漢",
    "kunyomis": [
      "おとこ",
      "から"
    ],
    "onyomis": [
      "カン"
    ],
    "radical_char": "氵",
    "radical_raed": "さんずい",
    "stroke": 13,
    "types": [
      "教育漢字",
      "常用漢字"
    ],
    "unicode": "U+6F22"
  }
]
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "character": {
        "type": "string",
        "enum": [
          "漢"
        ],
        "description": "漢字"
      },
      "kunyomis": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "おとこ"
            ]
          },
          {
            "type": "string",
            "enum": [
              "から"
            ]
          }
        ],
        "description": "訓読み"
      },
      "onyomis": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "カン"
          ]
        },
        "description": "音読み"
      },
      "radical_char": {
        "type": "string",
        "enum": [
          "氵"
        ],
        "description": "部首"
      },
      "radical_raed": {
        "type": "string",
        "enum": [
          "さんずい"
        ],
        "description": "部首の読み"
      },
      "stroke": {
        "type": "number",
        "enum": [
          13
        ],
        "description": "画数"
      },
      "types": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "教育漢字"
            ]
          },
          {
            "type": "string",
            "enum": [
              "常用漢字"
            ]
          }
        ],
        "description": "漢字の種類"
      },
      "unicode": {
        "type": "string",
        "enum": [
          "U+6F22"
        ],
        "description": "UNICODE"
      }
    },
    "required": [
      "character",
      "kunyomis",
      "onyomis",
      "radical_char",
      "radical_raed",
      "stroke",
      "types",
      "unicode"
    ],
    "additionalProperties": false
  }
}
Response  404
HideShow

charが子供の名前に使える漢字でない場合

Headers
Content-Type: application/json
Body
{
  "code": 404,
  "message": "Not found"
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "code": {
      "type": "number",
      "description": "ステータスコード"
    },
    "message": {
      "type": "string",
      "description": "エラーメッセージ"
    }
  }
}

for-child strokes collection archetype

子供の名前に使える漢字すべての情報を取得
GET/for-child/strokes

処理概要

  • 子供の名前に使える漢字すべての情報を返します。

Example URI

GET https://apino.yukiyuriweb.com/api/kanji/v1/for-child/strokes
Request
HideShow
Headers
Content-Type: application/json
Accept: application/json
Response  200
HideShow

子供の名前に使える漢字すべての文字、UNICODE、画数、訓読み、音読み、部首、部首の読み、漢字の種類を返します。

Headers
Content-Type: application/json
Body
[
  {
    "character": "漢",
    "kunyomis": [
      "おとこ",
      "から"
    ],
    "onyomis": [
      "カン"
    ],
    "radical_char": "氵",
    "radical_raed": "さんずい",
    "stroke": 13,
    "types": [
      "教育漢字",
      "常用漢字"
    ],
    "unicode": "U+6F22"
  }
]
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "character": {
        "type": "string",
        "enum": [
          "漢"
        ],
        "description": "漢字"
      },
      "kunyomis": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "おとこ"
            ]
          },
          {
            "type": "string",
            "enum": [
              "から"
            ]
          }
        ],
        "description": "訓読み"
      },
      "onyomis": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "カン"
          ]
        },
        "description": "音読み"
      },
      "radical_char": {
        "type": "string",
        "enum": [
          "氵"
        ],
        "description": "部首"
      },
      "radical_raed": {
        "type": "string",
        "enum": [
          "さんずい"
        ],
        "description": "部首の読み"
      },
      "stroke": {
        "type": "number",
        "enum": [
          13
        ],
        "description": "画数"
      },
      "types": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "教育漢字"
            ]
          },
          {
            "type": "string",
            "enum": [
              "常用漢字"
            ]
          }
        ],
        "description": "漢字の種類"
      },
      "unicode": {
        "type": "string",
        "enum": [
          "U+6F22"
        ],
        "description": "UNICODE"
      }
    },
    "required": [
      "character",
      "kunyomis",
      "onyomis",
      "radical_char",
      "radical_raed",
      "stroke",
      "types",
      "unicode"
    ],
    "additionalProperties": false
  }
}

for-child stroke archetype

子供の名前に使える漢字の情報を取得
GET/for-child/strokes/{stroke}

処理概要

  • strokeで与えられる画数の漢字で、子供の名前に使える漢字の情報を返します。

  • strokeで与えられる画数の漢字で、子供の名前に使える漢字が存在しない場合には404エラーを返します。

Example URI

GET https://apino.yukiyuriweb.com/api/kanji/v1/for-child/strokes/1
URI Parameters
HideShow
stroke
number (required) Example: 1

画数

Request
HideShow
Headers
Content-Type: application/json
Accept: application/json
Response  200
HideShow

strokeで与えられる画数の漢字で、子供の名前に使える漢字の文字、UNICODE、画数、訓読み、音読み、部首、部首の読み、漢字の種類を返します。

Headers
Content-Type: application/json
Body
[
  {
    "character": "一",
    "kunyomis": [
      "ひと",
      "ひと(つ)",
      "はじ(め)",
      "から"
    ],
    "onyomis": [
      "イチ",
      "イツ"
    ],
    "radical_char": "一",
    "radical_raed": "いち",
    "stroke": 1,
    "types": [
      "教育漢字",
      "常用漢字"
    ],
    "unicode": "U+4E00"
  },
  {
    "character": "乙",
    "kunyomis": [
      "おと",
      "きのと"
    ],
    "onyomis": [
      "オツ",
      "イツ"
    ],
    "radical_char": "乙 乚",
    "radical_raed": "おつ・おつにょう",
    "stroke": 13,
    "types": [
      "常用漢字"
    ],
    "unicode": "U+4E59"
  }
]
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "array"
}
Response  404
HideShow

strokeで与えられる画数の漢字で、子供の名前に使える漢字が存在しない場合

Headers
Content-Type: application/json
Body
{
  "code": 404,
  "message": "Not found"
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "code": {
      "type": "number",
      "description": "ステータスコード"
    },
    "message": {
      "type": "string",
      "description": "エラーメッセージ"
    }
  }
}

漢字API

漢字を返すAPIです。

chars collection archetype

漢字すべての情報を取得
GET/chars

処理概要

  • 漢字すべての情報を返します。

Example URI

GET https://apino.yukiyuriweb.com/api/kanji/v1/chars
Request
HideShow
Headers
Content-Type: application/json
Accept: application/json
Response  200
HideShow

漢字すべての文字、UNICODE、画数、訓読み、音読み、部首、部首の読み、漢字の種類を返します。

Headers
Content-Type: application/json
Body
[
  {
    "character": "漢",
    "kunyomis": [
      "おとこ",
      "から"
    ],
    "onyomis": [
      "カン"
    ],
    "radical_char": "氵",
    "radical_raed": "さんずい",
    "stroke": 13,
    "types": [
      "教育漢字",
      "常用漢字"
    ],
    "unicode": "U+6F22"
  }
]
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "character": {
        "type": "string",
        "enum": [
          "漢"
        ],
        "description": "漢字"
      },
      "kunyomis": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "おとこ"
            ]
          },
          {
            "type": "string",
            "enum": [
              "から"
            ]
          }
        ],
        "description": "訓読み"
      },
      "onyomis": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "カン"
          ]
        },
        "description": "音読み"
      },
      "radical_char": {
        "type": "string",
        "enum": [
          "氵"
        ],
        "description": "部首"
      },
      "radical_raed": {
        "type": "string",
        "enum": [
          "さんずい"
        ],
        "description": "部首の読み"
      },
      "stroke": {
        "type": "number",
        "enum": [
          13
        ],
        "description": "画数"
      },
      "types": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "教育漢字"
            ]
          },
          {
            "type": "string",
            "enum": [
              "常用漢字"
            ]
          }
        ],
        "description": "漢字の種類"
      },
      "unicode": {
        "type": "string",
        "enum": [
          "U+6F22"
        ],
        "description": "UNICODE"
      }
    },
    "required": [
      "character",
      "kunyomis",
      "onyomis",
      "radical_char",
      "radical_raed",
      "stroke",
      "types",
      "unicode"
    ],
    "additionalProperties": false
  }
}

char archetype

{char}の漢字の情報を取得
GET/chars/{char}

処理概要

  • charで与えられる漢字の情報を返します。

  • charが漢字でない場合には404エラーを返します。

Example URI

GET https://apino.yukiyuriweb.com/api/kanji/v1/chars/
URI Parameters
HideShow
char
string (required) Example: 

マルチバイトの漢字

Request
HideShow
Headers
Content-Type: application/json
Accept: application/json
Response  200
HideShow

charで与えられる漢字の文字、UNICODE、画数、訓読み、音読み、部首、部首の読み、漢字の種類を返します。

Headers
Content-Type: application/json
Body
[
  {
    "character": "漢",
    "kunyomis": [
      "おとこ",
      "から"
    ],
    "onyomis": [
      "カン"
    ],
    "radical_char": "氵",
    "radical_raed": "さんずい",
    "stroke": 13,
    "types": [
      "教育漢字",
      "常用漢字"
    ],
    "unicode": "U+6F22"
  }
]
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "character": {
        "type": "string",
        "enum": [
          "漢"
        ],
        "description": "漢字"
      },
      "kunyomis": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "おとこ"
            ]
          },
          {
            "type": "string",
            "enum": [
              "から"
            ]
          }
        ],
        "description": "訓読み"
      },
      "onyomis": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "カン"
          ]
        },
        "description": "音読み"
      },
      "radical_char": {
        "type": "string",
        "enum": [
          "氵"
        ],
        "description": "部首"
      },
      "radical_raed": {
        "type": "string",
        "enum": [
          "さんずい"
        ],
        "description": "部首の読み"
      },
      "stroke": {
        "type": "number",
        "enum": [
          13
        ],
        "description": "画数"
      },
      "types": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "教育漢字"
            ]
          },
          {
            "type": "string",
            "enum": [
              "常用漢字"
            ]
          }
        ],
        "description": "漢字の種類"
      },
      "unicode": {
        "type": "string",
        "enum": [
          "U+6F22"
        ],
        "description": "UNICODE"
      }
    },
    "required": [
      "character",
      "kunyomis",
      "onyomis",
      "radical_char",
      "radical_raed",
      "stroke",
      "types",
      "unicode"
    ],
    "additionalProperties": false
  }
}
Response  404
HideShow

漢字でない場合

Headers
Content-Type: application/json
Body
{
  "code": 404,
  "message": "Not found"
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "code": {
      "type": "number",
      "description": "ステータスコード"
    },
    "message": {
      "type": "string",
      "description": "エラーメッセージ"
    }
  }
}

strokes collection archetype

漢字すべての情報を取得
GET/strokes

処理概要

  • 漢字すべての情報を返します。

Example URI

GET https://apino.yukiyuriweb.com/api/kanji/v1/strokes
Request
HideShow
Headers
Content-Type: application/json
Accept: application/json
Response  200
HideShow

漢字すべての文字、UNICODE、画数、訓読み、音読み、部首、部首の読み、漢字の種類を返します。

Headers
Content-Type: application/json
Body
[
  {
    "character": "漢",
    "kunyomis": [
      "おとこ",
      "から"
    ],
    "onyomis": [
      "カン"
    ],
    "radical_char": "氵",
    "radical_raed": "さんずい",
    "stroke": 13,
    "types": [
      "教育漢字",
      "常用漢字"
    ],
    "unicode": "U+6F22"
  }
]
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "character": {
        "type": "string",
        "enum": [
          "漢"
        ],
        "description": "漢字"
      },
      "kunyomis": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "おとこ"
            ]
          },
          {
            "type": "string",
            "enum": [
              "から"
            ]
          }
        ],
        "description": "訓読み"
      },
      "onyomis": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "カン"
          ]
        },
        "description": "音読み"
      },
      "radical_char": {
        "type": "string",
        "enum": [
          "氵"
        ],
        "description": "部首"
      },
      "radical_raed": {
        "type": "string",
        "enum": [
          "さんずい"
        ],
        "description": "部首の読み"
      },
      "stroke": {
        "type": "number",
        "enum": [
          13
        ],
        "description": "画数"
      },
      "types": {
        "type": "array",
        "items": [
          {
            "type": "string",
            "enum": [
              "教育漢字"
            ]
          },
          {
            "type": "string",
            "enum": [
              "常用漢字"
            ]
          }
        ],
        "description": "漢字の種類"
      },
      "unicode": {
        "type": "string",
        "enum": [
          "U+6F22"
        ],
        "description": "UNICODE"
      }
    },
    "required": [
      "character",
      "kunyomis",
      "onyomis",
      "radical_char",
      "radical_raed",
      "stroke",
      "types",
      "unicode"
    ],
    "additionalProperties": false
  }
}

stroke archetype

画数が{stroke}の漢字の情報を取得
GET/strokes/{stroke}

処理概要

  • strokeで与えられる画数の漢字の情報を返します。

  • strokeで与えられる画数の漢字が存在しない場合には404エラーを返します。

Example URI

GET https://apino.yukiyuriweb.com/api/kanji/v1/strokes/1
URI Parameters
HideShow
stroke
number (required) Example: 1

画数

Request
HideShow
Headers
Content-Type: application/json
Accept: application/json
Response  200
HideShow

strokeで与えられる画数の漢字の文字、UNICODE、画数、訓読み、音読み、部首、部首の読み、漢字の種類を返します。

Headers
Content-Type: application/json
Body
[
  {
    "character": "一",
    "kunyomis": [
      "ひと",
      "ひと(つ)",
      "はじ(め)",
      "から"
    ],
    "onyomis": [
      "イチ",
      "イツ"
    ],
    "radical_char": "一",
    "radical_raed": "いち",
    "stroke": 1,
    "types": [
      "教育漢字",
      "常用漢字"
    ],
    "unicode": "U+4E00"
  },
  {
    "character": "乙",
    "kunyomis": [
      "おと",
      "きのと"
    ],
    "onyomis": [
      "オツ",
      "イツ"
    ],
    "radical_char": "乙 乚",
    "radical_raed": "おつ・おつにょう",
    "stroke": 13,
    "types": [
      "常用漢字"
    ],
    "unicode": "U+4E59"
  }
]
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "array"
}
Response  404
HideShow

strokeで与えられる画数の漢字が存在しない場合

Headers
Content-Type: application/json
Body
{
  "code": 404,
  "message": "Not found"
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "code": {
      "type": "number",
      "description": "ステータスコード"
    },
    "message": {
      "type": "string",
      "description": "エラーメッセージ"
    }
  }
}

Generated by aglio on 20 Sep 2017