Skip to content

有道翻译API for Node.js. Youdao translate open api for Node.js with Promise

License

Notifications You must be signed in to change notification settings

pandaGao/youdao-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youdao-translate

有道翻译API for Node.js.
Youdao translate open api for Node.js with Promise.

Installation

require Node.js >= 4.8.1

npm install youdao-translate --save

Usage

First, you need to apply your key and read the documentation from here

const Youdao = require('youdao-translate')

Youdao.init({
  key: '626956391',
  keyfrom: 'pandaworkflow'
  // only: 'dict' or 'translate'
})

Youdao.query('panda').then((data) => {
  console.log(data)
})

License

MIT

About

有道翻译API for Node.js. Youdao translate open api for Node.js with Promise

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published