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

text
https://api.gamemonitoring.ru/servers/9265589
json
{
  "response": {
    "add_date": 1747597882,
    "app": {
      "id": 1564980,
      "name": "Motor Town: Behind The Wheel",
      "steam_id": 1369670,
      "url": "motor-town-behind-the-wheel"
    },
    "color": 0,
    "connect": "142.79.46.162:9030",
    "country": "US",
    "domain": null,
    "game": 1369670,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 9265589,
    "ip": "142.79.46.162",
    "language": "en",
    "last_update": 1794770764,
    "map": null,
    "maxplayers": 20,
    "name": "Trash City, USA | US West | Medium Traffic | Noob Friendly",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 9030,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 9031,
    "request": "142.79.46.162:9031",
    "secured": true,
    "status": true,
    "steam_id": "90297529345995784",
    "version": "0.7.20+T11",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Лос-Анджелес",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Unreal Test!",
    "hidden": false,
    "last_offline": 1790403846,
    "last_online": 1794770764,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 38,
    "wipe_period": null,
    "FPS_i": "61",
    "GDH_i": "1482473140",
    "GDVF_i": "31",
    "P2PADDR": "90297529345995784",
    "P2PPORT": "9030",
    "GDH_BT_i": "-1442870477",
    "GDH_VP_i": "1094580158",
    "CONMETHOD": "P2P",
    "GDH_CVar_i": "1320092651",
    "GDH_Item_i": "-1648917372",
    "OWNINGNAME": "90297529345995784",
    "listentype": "d",
    "GDH_Cargo_i": "473130786",
    "environment": "l",
    "MTGameType_i": "1",
    "SESSIONFLAGS": "41",
    "a2s_protocol": 17,
    "MTNumPlayers_i": "0",
    "MTServerGuid_s": "E459F2EB4A6DA06B84294C955F0B083F",
    "players_complete": true,
    "AllowCorporation_b": "true",
    "AllowModdedVehicle_b": "true",
    "AllowCompanyAIDriver_b": "true",
    "MTServerPasswordRequired_b": "false",
    "AllowPoliceVehicleByPlayerRole_b": "false"
  }
}

Примеры кода

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