API для POTW! CUSTOM LOOT|XPLUS|1HIT|Z|MINI|5x-10x
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 54,
"fps_avg": 53,
"entities_count": 137799,
"world_seed": 774403855,
"world_size": 4500,
"steam_id": "90286483314425874",
"domain": null,
"id": 8635223,
"ip": "104.128.58.19",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Chicago",
"description": "FULLY CUSTOMIZED LOOT!!! \r\n X PLUS GATHER \r\n Teleport. MyMini. \r\n Bgrade, Up, Remove. \r\n One hit barrel w/ auto pickup! \r\n Sort. ZLevels.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778377981,
"last_online": 1780572033,
"icon": null,
"name": "POTW! CUSTOM LOOT|XPLUS|1HIT|Z|MINI|5x-10x",
"connect": "104.128.58.19:28015",
"request": "104.128.58.19:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1745183199,
"last_update": 1780572033,
"banned": false,
"wipe": 1778205999,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3138,
"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/8635223");
$data = json_decode($json, true);
var_dump($data);