API для [RU-EN] 1W-Х2Loot|Semi-Vanilla|TPA|Home|AIRS
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "85568392932640311",
"domain": null,
"id": 11578306,
"ip": "92.38.222.133",
"port": 21019,
"query": 21019,
"color": 0,
"city": "Moscow",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1780239195,
"last_online": 1780438850,
"icon": "https://i.ibb.co/x8JrhsJD/aNDB0.png",
"name": "[RU-EN] 1W-Х2Loot|Semi-Vanilla|TPA|Home|AIRS",
"connect": "92.38.222.133:21019",
"request": "92.38.222.133:21019",
"map": "Washington",
"gamemode": "СЕРВЕР ДЛЯ НОВИЧКОВ",
"version": "3.26.3.2",
"numplayers": 1,
"maxplayers": 55,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1779356917,
"last_update": 1780438850,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 149,
"language": "ru",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11578306");
$data = json_decode($json, true);
var_dump($data);