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

text
https://api.gamemonitoring.ru/servers/19708402
json
{
  "response": {
    "add_date": 1793939989,
    "app": {
      "id": 139,
      "name": "Subsistence",
      "steam_id": 418030,
      "url": "subsistence"
    },
    "color": 0,
    "connect": "185.249.198.134:27015",
    "country": "DE",
    "domain": null,
    "game": 418030,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19708402,
    "ip": "185.249.198.134",
    "language": "de",
    "last_update": 1794214612,
    "map": "coldmap1",
    "maxplayers": 8,
    "name": "KeBab 2.0",
    "numplayers": 0,
    "official": null,
    "points": 60,
    "port": 27015,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27016,
    "request": "185.249.198.134:27016",
    "secured": true,
    "status": true,
    "steam_id": "90297041260994568",
    "version": "13249",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Мюнстер",
    "description": "Hosted by ZAP-Hosting.com",
    "disabled_modules": [],
    "gamemode": "ColdGame",
    "hidden": false,
    "last_offline": null,
    "last_online": 1794214612,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 222,
    "wipe_period": null,
    "p3": "1",
    "p4": "0",
    "p5": "1",
    "p6": "6",
    "p7": "68.19",
    "p8": "24",
    "p9": "2",
    "p10": "185.249.198.134:27015",
    "p11": "0",
    "p12": "30297",
    "p14": "1",
    "p15": "1",
    "p16": "0",
    "p17": "1",
    "p18": "0",
    "bUsesStats": "True",
    "listentype": "d",
    "environment": "w",
    "a2s_protocol": 17,
    "bIsDedicated": "True",
    "OwningPlayerId": "0",
    "OwningPlayerName": "ZAP-Hosting.com",
    "players_complete": true,
    "NumPublicConnections": "8"
  }
}

Примеры кода

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