网页鼠标点击任何一个地方弹出文字动画效果
JSON| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
apiKey |
string | 必填 | 用户中心获取 |
<?php
$url = 'https://api.starhot.cc/API/djwz/index.php';
$params = ['apiKey' => 'YOUR_VALUE', ];
$url .= '?' . http_build_query($params);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = "https://api.starhot.cc/API/djwz/index.php"
params = {
'apiKey': 'YOUR_VALUE',
}
response = requests.get(url, params=params)
print(response.text)
const url = new URL('https://api.starhot.cc/API/djwz/index.php');
const params = {
'apiKey': 'YOUR_VALUE',
};
Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));
fetch(url)
.then(response => response.text())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));