请求地址 https://api.a20safe.com/api.php?api=60&key=你的KEY&keyword=关键词
返回示例 {"code":0,"msg":"success","data":[{"entity":"呕吐[症状]","result":[{"attribute":"可能疾病","value":"二硫化碳中毒[疾病]"},{"attribute":"可能疾病","value":"急性胰腺炎[疾病]"},{"attribute":"可能疾病","value":"直肠重复畸形[疾病]"},{"attribute":"可能疾病","value":"气压创伤性中耳炎[疾病]"},{"attribute":"可能疾病","value":"疝气[疾病]"},{"attribute":"可能疾病","value":"胰多肽瘤[疾病]"},{"attribute":"可能疾病","value":"妊娠期急性脂肪肝[疾病]"},{"attribute":"可能疾病","value":"肾动脉栓塞[疾病]"},{"attribute":"可能疾病","value":"肾积脓[疾病]"},{"attribute":"可能疾病","value":"十二指肠良性肿瘤[疾病]"},{"attribute":"可能疾病","value":"食管念珠菌感染[疾病]"},{"attribute":"可能疾病","value":"胃内异物[疾病]"},{"attribute":"可能疾病","value":"胃石症[疾病]"},{"attribute":"可能疾病","value":"小肠异物[疾病]"},{"attribute":"可能疾病","value":"疔疮[疾病]"},{"attribute":"可能疾病","value":"疫毒痢[疾病]"},{"attribute":"可能疾病","value":"缺血性肠炎[疾病]"},{"attribute":"可能疾病","value":"糜烂性胃炎[疾病]"},{"attribute":"可能疾病","value":"闭合性颅脑损伤[疾病]"},{"attribute":"可能疾病","value":"肠痉挛[疾病]"},{"attribute":"可能疾病","value":"真菌性脑膜炎[疾病]"},{"attribute":"可能疾病","value":"高甘油三酯血症[疾病]"},{"attribute":"可能疾病","value":"少突胶质细胞瘤[疾病]"},{"attribute":"可能疾病","value":"颅内静脉窦血栓形成[疾病]"},{"attribute":"可能疾病","value":"胃十二指肠溃疡瘢痕性幽门梗阻[疾病]"},{"attribute":"可能疾病","value":"脑血管病[疾病]"},{"attribute":"可能疾病","value":"维生素D中毒[疾病]"},{"attribute":"可能疾病","value":"细菌性皮肤病[疾病]"},{"attribute":"可能疾病","value":"良性脑瘤[疾病]"},{"attribute":"可能疾病","value":"脑炎[疾病]"}]}]}
返回参数
返回参数 类型 说明 code
Int
状态码 msg
String
返回说明 data[0].entity
String
格式:关键词[疾病/症状] data[0].result[n].attribute
String
属性 data[0].result[n].value
String
属性值
<br><br>
<table class="mdui-table"><thead><tr>
<th>返回参数</th><th>类型</th><th>说明</th></tr></thead><tbody>
<tr><td><code>code</code></td>
<td>Int</td>
<td>状态码</tr>
<tr><td><code>msg</code></td>
<td>String</td>
<td>返回说明</tr>
<tr><td><code>data[0].entity</code></td>
<td>String</td>
<td>格式:关键词[疾病/症状]</tr>
<tr><td><code>data[0].result[n].attribute</code></td>
<td>String</td>
<td>属性</tr>
<tr><td><code>data[0].result[n].value</code></td>
<td>String</td>
<td>属性值</tr>
</tbody></table>
请求参数 | 必填 | 类型 | 说明 |
---|---|---|---|
api |
是 | String | 接口id |
key |
是 | String | 你的key |
keyword |
是 | String | 关键词(疾病名或症状) |