Rust
AlmatyRust || X2 || NOLIMIT 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11435652json
{
"response": {
"fps": 135,
"fps_avg": 134,
"entities_count": 114705,
"world_seed": 450,
"world_size": 4500,
"steam_id": "90284951193953299",
"domain": null,
"id": 11435652,
"ip": "45.82.31.215",
"port": 31690,
"query": 31691,
"color": 0,
"city": "Almaty",
"description": "\nNO LIMIT\r\n• Рейты x2 на всё (кроме компонентов)\r\n• Ускоренная работа печек\r\n• /Kit\r\n• Вайп каждую субботу в 18:00 (МСК)",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777129406,
"score": 0,
"last_online": 1777163427,
"icon": null,
"name": "AlmatyRust || X2 || NOLIMIT",
"connect": "45.82.31.215:31690",
"request": "45.82.31.215:31691",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 240,
"bots": 0,
"secured": true,
"private": false,
"country": "KZ",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774977199,
"last_update": 1777163427,
"banned": false,
"wipe": 1777129644,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5217,
"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/11435652");
$data = json_decode($json, true);
var_dump($data);