JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/19480372
json
{
  "response": {
    "add_date": 1793516215,
    "app": {
      "id": 54695,
      "name": "DayZ Experimental",
      "steam_id": 1024020,
      "url": "dayz-experimental"
    },
    "color": 0,
    "connect": null,
    "country": "FR",
    "domain": null,
    "game": 1024020,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19480372,
    "ip": null,
    "language": "fr",
    "last_update": 1793980785,
    "map": "chernarusplus",
    "maxplayers": 60,
    "name": "Dayzedca 1.30 Experimental Wiped October #1 26 EN/QC/FR",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": null,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": null,
    "request": null,
    "secured": true,
    "status": false,
    "steam_id": "90296878742086659",
    "version": "1.30.164289",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Рубе",
    "description": null,
    "disabled_modules": [],
    "gamemode": "https://dayzed.ca Faites apparaître vos propres voitures ! (Sp",
    "hidden": false,
    "last_offline": 1793935054,
    "last_online": 1793980785,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": true,
    "position_game": 106,
    "wipe_period": null,
    "\u0001\u0005": "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u000bF�У\u0004\u001f���\bOHD Pack�\u0018Mi\u0004%�4�\u000fVehicleRecoverym.\u000e\u0019\u0004�z�\nBS KeyRoom�u�;\u0004�'9]\u0016Community Online Toolsg8�[\u0004̆\u001e�\u000fDudeWheresMyCa",
    "\u0002\u0005": "r%\u0003\u0001\u0003Z\u0004<���\u0012Area AnnouncementsDz�i\u0004��8m\rFlipTransportO�d�\u0004����\u0004MREs��w\u0004�^��\u0014MBM_MercedesSprinter\u0005y�\u0006\u0004V�I�\bMBM_JLTV!�%�\u0004\u0004��\\\u0013Co",
    "\u0003\u0005": "mmunity Framework\n\u000bcftoolsRoot\u0002CJ\u0004dayz\u0014DeafFeliciaPlaysDayZ\u0006inkihh\u000eJacob_Mango_V3\u0005MBMv3\tMRT101_v3\bOHD_Pack\tWardog.v3�https://da",
    "\u0004\u0005": "yzed.ca Faites apparaître vos propres voitures ! (Spawn your Own cars!)\r\n\r\n Many experimental features to try!\r\n\r\n   Testez de",
    "\u0005\u0005": "s fonctionnalités expérimentales !",
    "platform": "win",
    "timeLeft": "15",
    "dedicated": "1",
    "clientPort": "0",
    "listentype": "d",
    "environment": "w",
    "a2s_protocol": 17,
    "allowedBuild": "0",
    "requiredBuild": "0",
    "requiredVersion": "130",
    "players_complete": true
  }
}

Примеры кода

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19480372");
$data = json_decode($json, true);
var_dump($data);