JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11502038
json
{
  "response": {
    "fps": 489,
    "fps_avg": 487,
    "entities_count": 71022,
    "world_seed": 210705477,
    "world_size": 4250,
    "steam_id": "90286365907299341",
    "domain": null,
    "id": 11502038,
    "ip": "195.18.27.40",
    "port": 35400,
    "query": 35410,
    "color": 0,
    "city": "Moscow",
    "description": "![КЛАССИКА x2 | РОССИЯ | Для новичков 2x](https://pic.survivalhost.org/images/2025/11/22/123.jpg)\nКлассический сервер, идеально подходят для НОВИЧКОВ!\r\n• Добыча и стаки ресурсов х2\r\n• Без ограничений на игроков в команде\r\n• Размер карты 4250\r\n• Глобальный вайп каждый месяц\r\n• В рыбацких деревнях, ранчо, амбарах есть переработчики, станции дронов, нпз\r\n• Классика без телепортов и модов",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780626208,
    "last_online": 1780070425,
    "icon": null,
    "name": "КЛАССИКА x2 | РОССИЯ | Для новичков 2x",
    "connect": "195.18.27.40:35400",
    "request": "195.18.27.40:35410",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207188,
    "last_update": 1780626208,
    "banned": false,
    "wipe": 1780067502,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10914,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

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