@opentranslate2/tencent
v1.4.20
Published
Tencent translator with OpenTranslate API.
Downloads
568
Maintainers
Readme
@opentranslate/tencent
Tencent translator with OpenTranslate API.
Installation
Yarn
yarn add @opentranslate/tencent
NPM
npm i @opentranslate/tencent
Usage
import Tencent from '@opentranslate/tencent'
const tencent = new Tencent({
config: {
//please refer to https://cloud.tencent.com/document/api/213/30654
secretId: "",
secretKey: ""
}
})
tencent.translate('text').then(console.log)
API
See translator for more details.
Disclaimer
The material and source code from this package are for study and research purposes only. Any reliance you place on such material or source code are strictly at your own risk.