快速查询王者荣耀皮肤
https://api.iosxx.cn/API/wzrypfcx.php
https://api.iosxx.cn/API/wzrypfcx.php?hero=小乔
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
hero |
string | 是 | 英雄名称 |
skin |
string | 否 | 皮肤名称 |
size |
string | 否 | 选择返回哪种图片尺寸big、phone、mobile、thumb |
format |
string | 否 | json 或 text;默认 json |
limit |
string | 否 | 限制最多返回多少条 |
| 状态码 | 说明 |
|---|---|
200 | 请求成功 |
403 | 权限不足或API密钥无效 |
404 | 请求的资源不存在 |
429 | 请求过于频繁,已被限流 |
500 | 服务器内部错误 |
<?php
$url = 'https://api.iosxx.cn/API/wzrypfcx.php';
$params = [
'hero' => 'YOUR_VALUE',
'skin' => 'YOUR_VALUE',
'size' => 'YOUR_VALUE',
'format' => 'YOUR_VALUE',
'limit' => 'YOUR_VALUE',
];
$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://api.iosxx.cn/API/wzrypfcx.php"
params = {
"hero": "YOUR_VALUE",
"skin": "YOUR_VALUE",
"size": "YOUR_VALUE",
"format": "YOUR_VALUE",
"limit": "YOUR_VALUE",
}
response = requests.get(url, params=params)
print(response.text)
const url = new URL('https://api.iosxx.cn/API/wzrypfcx.php');
const params = {
'hero': 'YOUR_VALUE',
'skin': 'YOUR_VALUE',
'size': 'YOUR_VALUE',
'format': 'YOUR_VALUE',
'limit': 'YOUR_VALUE',
};
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://api.iosxx.cn/API/wzrypfcx.php?hero=YOUR_VALUE&skin=YOUR_VALUE&size=YOUR_VALUE&format=YOUR_VALUE&limit=YOUR_VALUE"