API для [CDN] #1 Modded Rust Server|SHOP|SKINS|KITS|Anomoly Zone
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 47,
"fps_avg": 44,
"entities_count": 136035,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286583975951364",
"domain": null,
"id": 10534368,
"ip": "65.7.2.45",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Vancouver",
"description": "![[CDN] #1 Modded Rust Server|SHOP|SKINS|KITS|Anomoly Zone](https://i.postimg.cc/Hkss8VGh/Rust-CDN-Serversize-PVE-Vanilla.png)\n\r\n* Quests\r\n* Raid Bases\r\n* BP's are never wiped\r\n* Custom Event's like Sputnik, Shipwreck and a few more\r\n* PVE modded, NO RAIDING OR KOS\r\n* Enforced server rules\r\n* English Language Server\r\n* PST TIME ZONE",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780113813,
"last_online": 1780591231,
"icon": null,
"name": "[CDN] #1 Modded Rust Server|SHOP|SKINS|KITS|Anomoly Zone",
"connect": "65.7.2.45:28015",
"request": "65.7.2.45:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1762518682,
"last_update": 1780591231,
"banned": false,
"wipe": 1780555901,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3661,
"language": "en",
"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.ru/servers/10534368");
$data = json_decode($json, true);
var_dump($data);