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

text
https://api.gamemonitoring.ru/servers/11859481
json
{
  "response": {
    "add_date": 1781956866,
    "app": {
      "id": 1564980,
      "name": "Motor Town: Behind The Wheel",
      "steam_id": 1369670,
      "url": "motor-town-behind-the-wheel"
    },
    "color": 0,
    "connect": "152.228.198.233:24892",
    "country": "FR",
    "domain": null,
    "game": 1369670,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 11859481,
    "ip": "152.228.198.233",
    "language": "fr",
    "last_update": 1794770764,
    "map": null,
    "maxplayers": 16,
    "name": "Two Way's Twinpoint City | two-way.eu | Positive Attitude Changes Everything",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 24892,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 25056,
    "request": "152.228.198.233:25056",
    "secured": true,
    "status": true,
    "steam_id": "90295980060156953",
    "version": "0.7.19",
    "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": 1790669821,
    "last_online": 1794770764,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 84,
    "wipe_period": null,
    "FPS_i": "0",
    "GDH_i": "-1392028285",
    "GDVF_i": "31",
    "P2PADDR": "90295980060156953",
    "P2PPORT": "24892",
    "GDH_BT_i": "922577932",
    "GDH_VP_i": "-569429124",
    "CONMETHOD": "P2P",
    "GDH_CVar_i": "1515166748",
    "GDH_Item_i": "-376766042",
    "OWNINGNAME": "90295980060156953",
    "listentype": "d",
    "GDH_Cargo_i": "-1264098795",
    "environment": "l",
    "MTGameType_i": "1",
    "SESSIONFLAGS": "553",
    "a2s_protocol": 17,
    "MTNumPlayers_i": "0",
    "MTServerGuid_s": "EA045ED7454CD53A177F959C99A69D9F",
    "players_complete": true,
    "AllowCorporation_b": "true",
    "AllowModdedVehicle_b": "true",
    "AllowCompanyAIDriver_b": "true",
    "MTServerPasswordHash_s": "828DCFB2411D22B5EA094557A5D0064B98B6A4E177D51E17594557C9C5C9E8DD524E719EA870AB45C6C49CB0AE98A40E",
    "AllowPoliceVehicleByPlayerRole_b": "false"
  }
}

Примеры кода

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