接口地址:https://api.xiaochetongxue.cn/api/meta.php
返回格式:json
请求方式:get/post
请求示例:https://api.xiaochetongxue.cn/api/meta.php?url=www.xiaochetongxue.cn
请求备注:暂无备注内容
请求参数说明:
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| url | 是 | string | 要获取的网址 |
返回参数说明:
| 名称 | 类型 | 说明 |
|---|---|---|
| title | String | 网站标题 |
| keywords | String | 网站关键字 |
| description | String | 网站描述 |
请求返回示例:
{
"title":"小车同学の主页","keywords":"小车同学,个人主页","description":"小车同学の主页"
}
错误码参照:
| 错误码 | 说明 |
|---|---|
| 201 | 参数不能为空 |
| 202 | 获取异常 |
| 203 | 格式不正确 |
实例演示代码:
暂无演示代码,正在拼命添加中...
暂无演示代码,正在拼命添加中...
暂无演示代码,正在拼命添加中...
暂无演示代码,正在拼命添加中...