API для MAIN | x2 | FULL WIPE 04.06 | UA | EU | ПАЛЯНИЦЯ
JSON для программ, сайтов и прочего
text
json
{
"response": {
"modded": true,
"fps": 40,
"fps_avg": 37,
"entities_count": 268667,
"world_seed": 1337,
"world_size": 4100,
"steam_id": "90286657994772493",
"domain": null,
"id": 688166,
"ip": "194.247.12.9",
"port": 28021,
"query": 28022,
"project_id": null,
"color": 0,
"city": "Kyiv",
"description": "\nThe Best Clan Server Ever!\r\n\r\nGlobal Wipe every Thursday\r\n- 14 players team size\r\n- alliances allowed\r\n- x2 gathering\r\n- x2 components\r\n- x2 smelting\r\n- Clan system\r\n- Faster Recyclers\r\n- Faster Smelting\r\n\r\nГлобал Вайп щочетверга о 17:00\r\n- тіма збільшена до 14 гравців\r\n- х2 збирання\r\n- х2 компоненти\r\n- х2 плавління\r\n- Система кланів\r\n- Прискорені переробники\r\n- Прискорене плавлення",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780752018,
"icon": null,
"name": "MAIN | x2 | FULL WIPE 04.06 | UA | EU | ПАЛЯНИЦЯ",
"connect": "194.247.12.9:28021",
"request": "194.247.12.9:28022",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 257,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "UA",
"status": true,
"votes": 0,
"points": 107,
"add_date": 1672001867,
"last_update": 1780752018,
"banned": false,
"wipe": 1780595167,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 197,
"language": "uk",
"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/688166");
$data = json_decode($json, true);
var_dump($data);