- 简介
- 时间
- 生活服务
- Live2d
- 数据仓库
- 行政区划
- 碧蓝航线
- Bilibili
- 壁纸
- 音乐
- 成语
- 加解密编码
二维码生成
GET
https://api.timelessq.com/qrcode
最后修改时间:2023-01-20 03:06:37
请求参数
Query 参数
text
string
二维码内容
示例值:
https://api.timelessq.com/
type
integer
可选
el
string
可选
示例值:
Q
margin
integer
外边距,默认4
示例值:
2
scale
integer
可选
width
integer
可选
示例值:
256
fgColor
string
可选
示例值:
66ccff
bgColor
string
可选
示例值:
ffffff
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.timelessq.com/qrcode?text=https://api.timelessq.com/'
返回响应
🟢200成功
application/json
Body
errno
integer
必需
errmsg
string
必需
data
string
二维码图片
示例
{
"errno": 0,
"errmsg": "",
"data": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAklEQVR4AewaftIAAAXCSURBVO3BgbFjRQwAwUHljBSUYlJQigkIALxV+N3if5ruP/78G5JWCiStFUhaK5C0ViBprUDSWoGktQJJawWS1gokrRVIWiuQtFYgaa1A0lqBpLUCSWsFktYKJK314iE1rNTJUQ1HnXyshq/SyRU1rNTJxwJJawWS1gokrRVIWiuQtFYgaa1A0lqBpLVeXNTJj1LDNTX8KJ38KJ38KDVcEUhaK5C0ViBprUDSWoGktQJJawWS1gokrfXiy9RwRSdfpZOvUcNRDR/r5KvUcEUnXyOQtFYgaa1A0lqBpLUCSWsFktYKJK0VSFrrhX65To5q+Fgn13RyVMNbNRx1ol8okLRWIGmtQNJagaS1AklrBZLWCiSt9UK/XA1HnbxVwyNqOOrkEZ28VYP+Z4GktQJJawWS1gokrRVIWiuQtFYgaa1A0lovvkwnv51OrqjhqJOjGo46+VgnX6WTdQJJawWS1gokrRVIWiuQtFYgaa1A0lqBpLVeXFTDSjUcdfKxTo5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mrhqNOjmo46uRr1PCITj4WSForkLRWIGmtQNJagaS1AklrBZLWeqFfrpOjGr5GDVd0clTDUSePqGGdQNJagaS1AklrBZLWCiStFUhaK5C0ViBprRdfphP9g06u6eSohqMa3urkqJNH1PCITt6q4UcJJK0VSForkLRWIGmtQNJagaS1AklrBZLWenFRDSvVcNTJFTUcdXLUycdqeEQnR508ooa3OnlEDVcEktYKJK0VSForkLRWIGmtQNJagaS1Aklr/fHn35C0UiBprUDSWoGktQJJawWS1gokrRVIWiuQtFYgaa1A0lqBpLUCSWsFktYKJK0VSForkLTWX8r/B8gwEZFhAAAAAElFTkSuQmCC"
}
修改于 2023-01-20 03:06:37