API для US[New] The Broodlands |2X| |Solo| |Monthly| |No Offlines|
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 208,
"fps_avg": 216,
"entities_count": 100081,
"world_seed": 10035760,
"world_size": 4000,
"steam_id": "90286588333078547",
"domain": null,
"id": 11502652,
"ip": "64.7.4.16",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Crawfordsville",
"description": "![US[New] The Broodlands |2X| |Solo| |Monthly| |No Offlines|](https://i.imgur.com/PXPBrFi.png)\nSolo only\r\nMonthly map wipes\r\nQuarterly BP wipes\r\nLong days & short nights\r\nPlaytime rewards\r\nRanks\r\nUnburnable meat\r\nVehicle locks\r\nPowered By Suzko.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780014770,
"last_online": 1780607432,
"icon": null,
"name": "US[New] The Broodlands |2X| |Solo| |Monthly| |No Offlines|",
"connect": "64.7.4.16:28015",
"request": "64.7.4.16:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207208,
"last_update": 1780607432,
"banned": false,
"wipe": 1778179729,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4824,
"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/11502652");
$data = json_decode($json, true);
var_dump($data);