API для R4S Small 24/7 | Monthly
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 160,
"fps_avg": 145,
"entities_count": 28371,
"world_seed": 988371840,
"world_size": 2500,
"steam_id": "90286264955032578",
"domain": null,
"id": 10260915,
"ip": "86.12.211.191",
"port": 29913,
"query": 29914,
"color": 0,
"city": "Saint Neots",
"description": "R4S Small, maximum 24 players.\r\n\r\n- Resets the first Thursday each month at 7pm London (UK) time.\r\n\r\n- Server reboots at 3am (London time).",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470419,
"last_online": 1780582839,
"icon": null,
"name": "R4S Small 24/7 | Monthly",
"connect": "86.12.211.191:29913",
"request": "86.12.211.191:29914",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1757057677,
"last_update": 1780582839,
"banned": false,
"wipe": 1778177087,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3527,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10260915");
$data = json_decode($json, true);
var_dump($data);