Papago API with ES6
Unofficial Papago translation API with ES6
Install
$ npm install --save papago
Usages
Prerequisite
You have to configure environment variables like below to test
export CLIENT_ID='Your application's client id'
export CLIENT_SECRET='Your application's client secret'
APIs
Default values are translated into English
; translator = processenvCLIENT_ID processenvCLIENT_SECRET;translator;
You can select the target language as shown below.
; translator = processenvCLIENT_ID processenvCLIENT_SECRET;translator;
Languages Code
The Papago API supports the following language codes:
Code | Desc |
---|---|
ko | Korean |
en | English |
ja | Japanese |
zh-CN | Chinese |
es | Spainish |
th | Thai |
fr | French |
vi | Vietnamese |
id | Hindi |
License
MIT