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

text
https://api.gamemonitoring.ru/servers/8628167
json
{
  "response": {
    "add_date": 1745147550,
    "app": {
      "id": 1611062,
      "name": "Abiotic Factor",
      "steam_id": 427410,
      "url": "abiotic-factor"
    },
    "color": 0,
    "connect": "209.126.7.115:33000",
    "country": "US",
    "domain": null,
    "game": 427410,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 8628167,
    "ip": "209.126.7.115",
    "language": "en",
    "last_update": 1794750886,
    "map": "Office3",
    "maxplayers": 4,
    "name": "RicklePick",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 33000,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 33015,
    "request": "209.126.7.115:33015",
    "secured": false,
    "status": true,
    "steam_id": "90297517278004246",
    "version": "1.0.0.6",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Сент-Луис",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Abiotic Factor",
    "hidden": false,
    "last_offline": 1794744977,
    "last_online": 1794750886,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 89,
    "wipe_period": null,
    "SN_i": "1",
    "SN0_s": "ricklepick",
    "P2PADDR": "90297517278004246",
    "P2PPORT": "33000",
    "CONMETHOD": "P2P",
    "GamePort_i": "33000",
    "Hardcore_b": "false",
    "OWNINGNAME": "RicklePick",
    "bHasMods_b": "false",
    "listentype": "d",
    "Dedicated_b": "true",
    "ShortCode_s": "8PQ1F",
    "environment": "w",
    "MaxPlayers_i": "4",
    "SESSIONFLAGS": "43",
    "a2s_protocol": 17,
    "USESPRESENCE_b": "false",
    "CUSTOMJOININFO_s": "50ca57a83720479b82375c32fa41f19c",
    "players_complete": true,
    "ModifiedRuleset_i": "0",
    "AllowLocalOnlyMods_b": "true"
  }
}

Примеры кода

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