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

text
https://api.gamemonitoring.ru/servers/6571992
json
{
  "response": {
    "fps": 219,
    "fps_avg": 216,
    "entities_count": 156676,
    "world_seed": 220403500,
    "world_size": 4500,
    "steam_id": "90284400826439689",
    "domain": null,
    "id": 6571992,
    "ip": "57.128.211.31",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Warsaw",
    "description": "![[EU East] Facepunch 3](https://files.facepunch.com/Alistair/124/07/2025/9593/fpos.png)\nThis is an official server owned and operated by Facepunch.\r\n\r\nPeople are free to speak whatever language they like. Don't be surprised if you get banned for being abusive.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775223134,
    "score": 0,
    "last_online": 1776288014,
    "icon": null,
    "name": "[EU East] Facepunch 3",
    "connect": "57.128.211.31:28015",
    "request": "57.128.211.31:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 21,
    "maxplayers": 400,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1731158557,
    "last_update": 1776288014,
    "banned": false,
    "wipe": 1775151493,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1290,
    "language": "pl",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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