API для Houston Stronghold PVE Only
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 75,
"fps_avg": 74,
"entities_count": 63398,
"world_seed": 1908093849,
"world_size": 3500,
"steam_id": "90286426521652239",
"domain": null,
"id": 9474648,
"ip": "73.255.105.214",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Houston",
"description": "\nAll PVE rules apply. Server goes down regularly depending on the weather. Also admin has a day job, so a downed server might not get back up and running immediately.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780198434,
"last_online": 1780606835,
"icon": null,
"name": "Houston Stronghold PVE Only",
"connect": "73.255.105.214:28015",
"request": "73.255.105.214:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1748433171,
"last_update": 1780606835,
"banned": false,
"wipe": 1778207870,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3564,
"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/9474648");
$data = json_decode($json, true);
var_dump($data);