Skip to content

waki285/Kuroshiro-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kuroshiro-API

A simple API for Kuroshiro library.

Usage

Send POST request to /. The body should be a JSON object (Content-Type: application/json) with the following properties:

  • text: The text to be converted. (Required)
  • type: The conversion type. (Required) You can choose hiragana, katakana, or romaji.
  • mode: The conversion mode. (Optional) You can choose normal, spaced, or okurigana.
  • romajiSystem The romaji system. Only works when type is romaji. (Optional) You can choose hepburn, nippon, or passport.