BO API单词查询接口

api接口地址:http://service.boapi.net/EnWord/EnWord.ashx

  • 请求方式:Get

  • 请求参数:

  •     key:您申请的key 必选参数

  •     type:请求类型

  •     word:单词

  •     date:日期 可选参数

  • 返回参数:

  •     word:单词

  •     mark:音标

  •     explain:词义

  •     voice:单词语音(请查看注意事项)

  •     es:句子集合

  •     sentence:句子

  •     translate:句子翻译

如:http://service.boapi.net/EnWord/EnWord.ashx?key=AppKey&type=w&word=good

其中AppKey为你申请的key

返回结果:

{"word":"good","mark":"gʊd","explain":"n.好,好事,慷慨的行为,好处,利益adj.优良的,上等的,虔诚的,愉快的,慈善的,好心的,有益的","voice":"good.wav","es":[{"sentence":"He gave me some good advice.","translate":"他向我提了一些很好的意见。","voice":"0"},{"sentence":"Let's have a good round of applause for the next performer.","translate":"咱们为下一个表演者热烈鼓掌吧。","voice":"0"},{"sentence":"I don't understand how he can think she is good looking, but beauty is in the eye of the beholder.","translate":"我不明白他怎么会认为她漂亮,不过情人眼里出西施罢了。","voice":"0"}]}


好了现在可以发挥你的想象了

更多的API:http://www.boapi.net/

你可能感兴趣的:(BO,api,boapi,单词查询接口)