二维码识别
GET
无需 Key
运行中
接口简介
二维码识别API,传入二维码图片直链即可快速解析内容并返回,支持各类标准二维码,识别精准、响应迅速,适配信息核验、扫码跳转、内容提取等场景,集成便捷。
接口地址
https://api.lolimi.cn/API/QR/api请求示例
测试访问https://api.lolimi.cn/API/QR/api?url=返回预览
JSON{
"code": 1,
"text": "https:\/\/api.lolimi.cn"
}
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| url | string | Required | 二维码链接 |
| type | string | Required | 可选json/text默认json |
返回参数
| 参数名 | 类型 | 描述 |
|---|---|---|
| code | int | 状态码 |
| text | string | 返回内容 |
参数配置
登录获取 KeyResponseWaiting...
<?php
$url = "https://api.lolimi.cn/API/QR/api";
$params = array (
'url' => 'value',
'type' => 'value',
);
$url .= '?' . http_build_query($params);
$res = file_get_contents($url);
echo $res;