API для thefo on master-blaster
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790277131,
"app": {
"id": 61,
"name": "Arma 3",
"steam_id": 107410,
"url": "arma-3"
},
"color": 0,
"connect": "178.224.117.109:2302",
"country": "NL",
"domain": null,
"game": 107410,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17077126,
"ip": "178.224.117.109",
"language": "nl",
"last_update": 1790565933,
"map": "chernarusredux",
"maxplayers": 16,
"name": "thefo on master-blaster",
"numplayers": 0,
"official": null,
"points": 0,
"port": 2302,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2303,
"request": "178.224.117.109:2303",
"secured": false,
"status": false,
"steam_id": "90293369009615897",
"version": "2.22.154045",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Хелмонд",
"description": null,
"disabled_modules": [],
"gamemode": "DAYZ SQUAD Chernarus",
"hidden": false,
"last_offline": 1790565933,
"last_online": 1790302967,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 9918,
"wipe_period": null,
"\u0001\u0003": "\u0003\u0001\u0002\u0001\u0003\u001b�\u0001\u0001V$X\u00047\u00106;���4'8\u001d�K�\u001a\r�]�\u0001\u0001K��\u0012�&��f��_�<W�g%J��\u0001\u0003\t\\K��\u0004s�L \u0013CUP Vehicles 1.19.2|l��\u0004ڷ�\u001d\u0010CUP Units 1.19.0^o��\u0004尩\u001d\u0012CU",
"\u0002\u0003": "P Weapons 1.19.1�q��\u0004\u0015��\u001a\u001dCommunity Base Addons v3.19.0Qh$�\u0004$\u0012@RDS Civilian Pack��K\u0019\u0004��?C\u000fChernarus Redux\u0001\u0002���\u0004�q�\"\u001aCUP Terr",
"\u0003\u0003": "ains - Core 1.19.3:~�+\u0004�~S�\u000bSpawnIA_CUP@���\u0004�<\u0001\u0001�\nDAYZ SQUAD\u0001\u0002",
"listentype": "l",
"environment": "w",
"a2s_protocol": 17,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17077126");
$data = json_decode($json, true);
var_dump($data);