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

text
https://api.gamemonitoring.ru/servers/18524504
json
{
  "response": {
    "add_date": 1792258085,
    "app": {
      "id": 54695,
      "name": "DayZ Experimental",
      "steam_id": 1024020,
      "url": "dayz-experimental"
    },
    "color": 0,
    "connect": "185.223.139.178:2602",
    "country": "ES",
    "domain": null,
    "game": 1024020,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 18524504,
    "ip": "185.223.139.178",
    "language": "es",
    "last_update": 1794678978,
    "map": "chernarusplus",
    "maxplayers": 60,
    "name": "[ESP]TIERRA HOSTIL|EXPERIMENTAL|SOLO PVE|WIPE 15-10-26",
    "numplayers": 1,
    "official": null,
    "points": 37,
    "port": 2602,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27016,
    "request": "185.223.139.178:27016",
    "secured": true,
    "status": true,
    "steam_id": "90297459463971840",
    "version": "1.30.164289",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Llíria",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794646566,
    "last_online": 1794678978,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 24,
    "wipe_period": null,
    "\u0001\u0001": "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0001\u0004dayz\u0001\u0002",
    "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/18524504");
$data = json_decode($json, true);
var_dump($data);