FanyiAPI::API.register("youdao", key: "key", keyfrom: "keyfrom")
FanyiAPI::API.register("iciba", key: "key")
# default is youdao API
FanyiAPI::API.("hello")
# or specify explicitly
FanyiAPI::API.("youdao", "hello")
FanyiAPI::API.("iciba", "hello")
- parse result
and more ...
Fork, please!