Description Usage Arguments Details Value Author(s) References Examples
Youdao open API key and keyfrom should be provided.
1 | youdaoUrl(word, api, keyfrom)
|
word |
The word you want to look up. |
api |
A Youdao API key. You can get it from http://fanyi.youdao.com/openapi. |
keyfrom |
A Youdao keyfrom. You can get it from http://fanyi.youdao.com/openapi. |
All of three arguments are needed. The API key and keyfrom could be get from http://fanyi.youdao.com/openapi?path=data-mode. If the vocabulary is consist of two words, the space between two words will be converted to a "+".
Return a url link.
Ke-Hao Wu
http://fanyi.youdao.com/openapi?path=data-mode http://www.youdao.com/help/fanyiapi/privacy/
1 2 3 | apikey = "498375134"
keyfrom = "JustForTestYouDao"
Url = youdaoUrl(word="youdao",api=apikey,keyfrom=keyfrom)
|
Loading required package: RCurl
Loading required package: bitops
Loading required package: rjson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.