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

text
https://api.gamemonitoring.ru/servers/13115322
json
{
  "response": {
    "pvp": 1,
    "mods": [],
    "open": "1",
    "public": "0",
    "modCount": "0",
    "listentype": "d",
    "description": null,
    "environment": "l",
    "a2s_protocol": 17,
    "players_complete": true,
    "steam_id": "90291092137544726",
    "domain": null,
    "id": 13115322,
    "ip": "185.244.0.13",
    "port": 25799,
    "query": 25799,
    "project_id": null,
    "color": 0,
    "city": "Стокгольм",
    "game": 108600,
    "boosts": 1,
    "last_offline": 1789413678,
    "last_online": 1789692165,
    "icon": null,
    "name": "My PZ Server",
    "connect": "185.244.0.13:25799",
    "request": "185.244.0.13:25799",
    "map": "Muldraugh, KY",
    "gamemode": "Project Zomboid",
    "version": "42.20",
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1785498044,
    "last_update": 1789692165,
    "ban_reason": null,
    "banned": false,
    "hidden": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6308,
    "language": "sv",
    "parked": false,
    "app": {
      "id": 71,
      "steam_id": 108600,
      "name": "Project Zomboid",
      "url": "project-zomboid"
    },
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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