## 接口说明
> 服务简介:
> 1、可以输入一个字查询相关成语。
> 2、可输入一个成语查相关解释。
## 接口定义
+++
get:/netpopo/idiom/chengyu
*keyword#成语
appkey=1307ee261de8bbcf83830de89caae73f#你申请的appkey
<<<
success
{
"total": "1",
"data": [
{
"name": "投机取巧",
"pronounce": "tóu jī qǔ qiǎo",
"content": "指用不正当的手段谋取私利。也指靠小聪明占便宜。",
"comefrom": "无",
"antonym": [
"正人君子"
],
"thesaurus": [
"看风使舵",
"投机倒把"
]
}
]
}
+++
## 完整代码
下面是本接口示例的完整定义代码:
~~~
+++
get:/netpopo/idiom/chengyu
*keyword=#成语
appkey=1307ee261de8bbcf83830de89caae73f#你申请的appkey
<<<
success
{
"total": "1",
"data": [
{
"name": "投机取巧",
"pronounce": "tóu jī qǔ qiǎo",
"content": "指用不正当的手段谋取私利。也指靠小聪明占便宜。",
"comefrom": "无",
"antonym": [
"正人君子"
],
"thesaurus": [
"看风使舵",
"投机倒把"
]
}
]
}
+++
~~~