Skip to content

he9qi/fanyi_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English to Chinese Translation APIs Wrapper in Ruby.

Code Climate

Register API strategy

FanyiAPI::API.register("youdao", key: "key", keyfrom: "keyfrom")
FanyiAPI::API.register("iciba", key: "key")

Request API

# default is youdao API
FanyiAPI::API.("hello")

# or specify explicitly
FanyiAPI::API.("youdao", "hello")
FanyiAPI::API.("iciba", "hello")

TODO

  • parse result

and more ...

Contributions

Fork, please!

About

English to Chinese Translation APIs Wrapper in Ruby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages