[KZ]Clean Hardware | Biweekly | Start 22.05 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 5,
"fps_avg": 6,
"entities_count": 92124,
"world_seed": 1000945571,
"world_size": 4000,
"steam_id": "90286082467544067",
"domain": null,
"id": 11606789,
"ip": "93.170.73.48",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Almaty",
"description": "![[KZ]Clean Hardware | Biweekly | Start 22.05](https://rust-kz.pressure.zone/header.jpg)\nBiweekly Wipe | Vanilla | Secure Server\nMax Players: 150\nServer: Kazakhstan\nConnect: rust-kz.pressure.zone:28015",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780626198,
"last_online": 1780548631,
"icon": null,
"name": "[KZ]Clean Hardware | Biweekly | Start 22.05",
"connect": "93.170.73.48:28015",
"request": "93.170.73.48:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "KZ",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915483,
"last_update": 1780626198,
"banned": false,
"wipe": 1779471445,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11823,
"language": "kk",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11606789");
$data = json_decode($json, true);
var_dump($data);