返回首页
QQ个性资料卡 POST 正常
06月13日 创建 更新于 07-02 12:25
传入QQ号码,可自动生成风格美观的QQ个人资料卡片图片,卡片会展示对应QQ的各类个性信息,可用于社交展示、机器人形象展示、趣味名片生成等场景
总调用次数
196
接口地址
https://gulangsc.cn/API/qq/qqcard.php
请求示例
https://gulangsc.cn/API/qq/qqcard.php?uin=10086&qid=gusngh&name=鼓浪&wa=愿此时平谈,&was=若彼时灿烂/
参数说明
uin string 需要设计的QQ号
qid string 需要设计的QID
name string 需要设计的名称
wa string 文案第一行
was string 文案第二行
代码示例
curl -X POST 'https://gulangsc.cn/API/qq/qqcard.php?uin=10086&qid=gusngh&name=鼓浪&wa=愿此时平谈,&was=若彼时灿烂/'
import requests

url = 'https://gulangsc.cn/API/qq/qqcard.php?uin=10086&qid=gusngh&name=鼓浪&wa=愿此时平谈,&was=若彼时灿烂/'
response = requests.request('POST', url)
print(response.text)
package main

import (
    "fmt"
    "io"
    "net/http"
)

func main() {
    url := "https://gulangsc.cn/API/qq/qqcard.php?uin=10086&qid=gusngh&name=鼓浪&wa=愿此时平谈,&was=若彼时灿烂/"
    req, _ := http.NewRequest("POST", url, nil)
    res, _ := http.DefaultClient.Do(req)
    defer res.Body.Close()
    body, _ := io.ReadAll(res.Body)
    fmt.Println(string(body))
}
fetch('https://gulangsc.cn/API/qq/qqcard.php?uin=10086&qid=gusngh&name=鼓浪&wa=愿此时平谈,&was=若彼时灿烂/', {
  method: 'POST',
})
  .then(res => res.json())
  .then(console.log)
  .catch(console.error);
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class Main {
    public static void main(String[] args) throws Exception {
        var client = HttpClient.newHttpClient();
        var request = HttpRequest.newBuilder()
            .uri(URI.create("https://gulangsc.cn/API/qq/qqcard.php?uin=10086&qid=gusngh&name=鼓浪&wa=愿此时平谈,&was=若彼时灿烂/"))
            .method("POST", HttpRequest.BodyPublishers.noBody())
            .build();
        var response = client.send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.body());
    }
}
<?php
$url = 'https://gulangsc.cn/API/qq/qqcard.php?uin=10086&qid=gusngh&name=鼓浪&wa=愿此时平谈,&was=若彼时灿烂/';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
#!/bin/bash
# 使用 curl
curl -X POST 'https://gulangsc.cn/API/qq/qqcard.php?uin=10086&qid=gusngh&name=鼓浪&wa=愿此时平谈,&was=若彼时灿烂/'

# 或使用 wget
wget -qO- 'https://gulangsc.cn/API/qq/qqcard.php?uin=10086&qid=gusngh&name=鼓浪&wa=愿此时平谈,&was=若彼时灿烂/'
在线测试
需要设计的QQ号
需要设计的QID
需要设计的名称
文案第一行
文案第二行
实时响应预览
正在获取实时响应...
元信息
API ID
#6
更新于
07-02 12:25
请求方式
POST
鉴权要求
无需 Key
QPS 状态
10/s
预览状态
已开启