https://qq.vrka.cn/API/dd.php
此接口无需请求参数
| 状态码 | 说明 |
|---|---|
200 | 请求成功 |
403 | 权限不足或API密钥无效 |
404 | 请求的资源不存在 |
429 | 请求过于频繁,已被限流 |
500 | 服务器内部错误 |
<?php
$url = 'https://qq.vrka.cn/API/dd.php';
$params = [
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url . '?' . http_build_query($params));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = "https://qq.vrka.cn/API/dd.php"
params = {
}
response = requests.get(url, params=params)
print(response.text)
const url = new URL('https://qq.vrka.cn/API/dd.php');
const params = {
};
Object.keys(params).forEach(key =>
url.searchParams.append(key, params[key]));
fetch(url)
.then(res => res.text())
.then(data => console.log(data))
.catch(err => console.error(err));
curl -X GET "https://qq.vrka.cn/API/dd.php?"