二维码生成和识别 官方自营 全部收费

 

传入字符串生成二维码图片;或者是传入二维码图,接口返回图片包含的正文信息。

浏览量: 88304

调用量: 60246862

使用人数: 10569

¥ 0.01 元起

接入点说明: 根据图片的Base64信息,识别图片中的信息
相关文档:
接口地址: http://route.showapi.com/887-4 (注意:接口支持https,更安全,但稍慢一些,你懂的。请根据自己的情况进行选择。)
返回格式: json
请求方式: HTTP协议,支持GET/POST方法。
调用样式及调试工具: 测试工具

请求参数/ Request parameter

非文件上传的POST时,enctype=application/x-www-form-urlencoded。
文件上传的POST时,enctype=multipart/form-data。

1、系统级参数(所有接入点都需要的参数):展开收起
参数名称 类型 示例值 必须 描述
showapi_appid String 100 易源应用id
showapi_sign String 698d51a19d8a121ce581499d7b701668 为了验证用户身份,以及确保参数不被中间人篡改,需要传递调用者的数字签名。
showapi_timestamp String 20141114142239 客户端时间。
格式yyyyMMddHHmmss,如20141114142239
为了在一定程度上防止“重放攻击”,平台只接受在10分钟之内的请求。如果不传或传空串,则系统不再做此字段的检测。
showapi_sign_method String md5 签名生成方式,其值可选为"md5"或"hmac"。如果不传入则默认"md5"。
showapi_res_gzip String 1或0 返回值是否用gzip方式压缩。此值为1时将压缩,其他值不压缩。
...
2、应用级参数(每个接入点有自己的参数):
参数名称 类型 默认值 示例值 必须 描述
imgData String
/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABPAE8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkK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tx8ELe4ikhnie3SSORSrIwNqCCDyCDxipPiJ8OPDeveO9S1O/+IelaTdTeVvspxHvixEijOZVPIAPQdauN8OfiXrPirw7qnifxBo19BpF7HcKseUYLvRnA2wqCSEHU9u1bF/8IYPEHxU1jxD4hhtLzRbu3RYLdZ5UlWVUiXc23aMYR/4j1HHoAeafEz4j/wBvaZPpms/Dz+ydXmij8i9vD+/ijEm75d0SttOHHBA5b3rs/h9qGm/FbwLd+HL3Q7SCfRdMisba+mVblkZ4mTzUBUFCDEGwD6c8ZroPGHwuPjH4m6XreoraT6DBZfZ7m2aaRJXYGUqV2gcbnQ/eHQ/jY+Gvw8ufAms+J5We0Gn6jcI1jFDI7tFErS7VfcBztdR1PQ8+oBzevfB/w3YfDrTNHv8AXdK0q6t7ss+tz2kcT3GfMIjJLg9GHG4/6vp6cR4e8C6P4d+JmkzzajY+IPCqRSNe6o8CGxhkKSKscjlmjDZ8sgEg5deORn2P4s+CtS8eeFbXS9LntIZ4r1LhmunZVKhHXA2qxzlx29a5fxb8Jteewl8P+CLvTdM8L3SLJd2V1I7NJcB8lw5R2AwkXAYD5TxycgGH8ZfCf/Ir6j4D8P8A/Pac3OhWX/XJon3RD6lT9cVY+Cn/AAnn/CZXn/CUf8JH9h/s99n9p+f5fmeZHjHmcbsbvfGa9A+G2g+MfDunTWHijVbG9tYYoIdPS0H+pRAwIJ8tSeNnXPQ/jqWVl4rTx5qN3d6naSeF3twtnZKo82OXEeWY7AcZEn8R+8OPQA//2Q==
图片的base64信息
handleImg String 0
是否需要处理成黑白图片,1需要处理 ; 0 不处理(彩色图片的时候,可以使用该值以提高识别率)

返回参数/ Return parameter

以JSON格式返回结果。

1、系统级参数(所有接入点都会返回的参数): 展开收起
名称 类型 示例值 描述
showapi_res_body String {"city":"昆明","prov":"云南"} 消息体的JSON封装,所有应用级的返回参数将嵌入此对象 。
showapi_res_code int 0
易源返回标志,0为成功,其他为失败。
0成功
-1,系统调用错误
-2,可调用次数或金额为0
-3,读取超时
-4,服务端返回数据解析错误
-5,后端服务器DNS解析错误
-6,服务不存在或未上线
-1000,系统维护
-1002,showapi_appid字段必传
-1003,showapi_sign字段必传
-1004,签名sign验证有误
-1005,showapi_timestamp无效
-1006,app无权限调用接口
-1007,没有订购套餐
-1008,服务商关闭对您的调用权限
-1009,调用频率受限
-1010,找不到您的应用
-1011,子授权app_child_id无效
-1012,子授权已过期或失效
-1013,子授权ip受限
showapi_res_error String 用户输入有误! 错误信息的展示
...
2、应用级参数(系统级输出参数showapi_res_body字段中的json数据结构): 展开收起
名称 类型 示例值 描述
ret_code String
0
错误编码:0为成功 其他值为失败
retText String
http://www.showapi.com
返回值
...

返回示例/ Return example

{
	"showapi_res_code": 0,
	"showapi_res_error": "",
	"showapi_res_body": {
		"ret_code": "0",
		"retText": "http://www.showapi.com"
	}
}