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

text
https://api.gamemonitoring.ru/servers/19766884
json
{
  "response": {
    "add_date": 1794034979,
    "app": {
      "id": 139,
      "name": "Subsistence",
      "steam_id": 418030,
      "url": "subsistence"
    },
    "color": 0,
    "connect": "45.159.7.40:8117",
    "country": "GB",
    "domain": null,
    "game": 418030,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19766884,
    "ip": "45.159.7.40",
    "language": "en",
    "last_update": 1794214612,
    "map": "coldmap1",
    "maxplayers": 4,
    "name": "UTOPIA",
    "numplayers": 0,
    "official": null,
    "points": 60,
    "port": 8117,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 8119,
    "request": "45.159.7.40:8119",
    "secured": true,
    "status": true,
    "steam_id": "90297028094220297",
    "version": "13249",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Канэри-Уорф",
    "description": "WHO Left the WORLD behind  ?  (no base Decay)",
    "disabled_modules": [],
    "gamemode": "ColdGame",
    "hidden": false,
    "last_offline": 1794164373,
    "last_online": 1794214612,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 226,
    "wipe_period": null,
    "p3": "1",
    "p4": "1",
    "p5": "0",
    "p6": "8",
    "p7": "68.19",
    "p8": "365",
    "p9": "1",
    "p10": "45.159.7.40:8117",
    "p11": "0",
    "p12": "49773",
    "p14": "0",
    "p15": "0",
    "p16": "0",
    "p17": "1",
    "p18": "3",
    "bUsesStats": "True",
    "listentype": "d",
    "environment": "w",
    "a2s_protocol": 17,
    "bIsDedicated": "True",
    "OwningPlayerId": "0",
    "OwningPlayerName": "Nitrado.net",
    "players_complete": true,
    "NumPublicConnections": "4"
  }
}

Примеры кода

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