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

text
https://api.gamemonitoring.ru/servers/12324768
json
{
  "response": {
    "dedicated": true,
    "gametype": "PVP,CHn,EZY,2Pp,WSy,F2P,BEy,<net>sns</net>,<pf>rm</pf>",
    "os": "w",
    "product": "Unturned",
    "region": -1,
    "steam_id": "90288941969218588",
    "domain": null,
    "id": 12324768,
    "ip": "185.170.114.196",
    "port": 27015,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Nuremberg",
    "description": null,
    "game": 304930,
    "owner": null,
    "boosts": 1,
    "last_offline": 1784664168,
    "last_online": 1784148038,
    "icon": null,
    "name": "Xsitid",
    "connect": "185.170.114.196:27015",
    "request": "185.170.114.196:27015",
    "map": "Roez PEI",
    "gamemode": null,
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1784142039,
    "last_update": 1784664168,
    "ban_reason": null,
    "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": 9190,
    "language": "de",
    "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/12324768");
$data = json_decode($json, true);
var_dump($data);