API для 198.73.57.175:28025
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 115,
"fps_avg": 112,
"entities_count": 83930,
"world_seed": 648252,
"world_size": 4250,
"steam_id": "90286454133658642",
"domain": null,
"id": 11502273,
"ip": "198.73.57.175",
"port": 28025,
"query": 28027,
"color": 0,
"city": "Clifton",
"description": "\nRusty Rangers After Hours is a US East monthly Solo Duo Trio server focused on fair fights, smoother progression, and quality of life gameplay. Offline raid protection is 50 percent when active, making raids cost about twice as much. Protection starts 5 minutes after a player goes offline and only after 10 minutes since the last attack. Features include 3x smelting, increased stack sizes, furnace splitter, extended workbench, balanced kits, and more coming soon. No teaming while raiding or roaming. You do not have to kill on sight. Play friendly or aggressive, but play fair. Please join us and help grow this community! casual or dedicated, all are welcome!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780573413,
"last_online": 1780252992,
"icon": null,
"name": "198.73.57.175:28025",
"connect": "198.73.57.175:28025",
"request": "198.73.57.175:28027",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207196,
"last_update": 1780573413,
"banned": false,
"wipe": 1780192678,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11477,
"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/11502273");
$data = json_decode($json, true);
var_dump($data);