JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/10780587
json
{
  "response": {
    "fps": 134,
    "fps_avg": 134,
    "entities_count": 148154,
    "world_seed": 2022,
    "world_size": 4500,
    "steam_id": "90286732492009475",
    "domain": null,
    "id": 10780587,
    "ip": "80.242.59.133",
    "port": 35400,
    "query": 35410,
    "project_id": null,
    "color": 0,
    "city": "Veliky Novgorod",
    "description": "![ДЛЯ НОВИЧКОВ | БЕЗ ДОНАТА | KALASHNIKOVRUST](https://pic.survivalhost.org/images/2026/04/21/K3.png)\nДЛЯ НОВИЧКОВ | БЕЗ ДОНАТА | KALASHNIKOVRUST\r\n• Вайп: Был 4 ИЮНЯ - Следующий вайп 18 Июня в 22-00\r\n• Команда: Без ограничений (No Limit)\r\n• Турели: До 24 штук на базу\r\n• Содержание: Снижено на 50%\r\n• Защита: Вход с VAC-баном запрещён\r\n• Аккаунты: Только чистая и честная игра\r\n• Рестарт: Ежедневно в 02:00 и в 12:00 по МСК\r\n• Карта: Размер 4500",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780873453,
    "last_online": 1780903828,
    "icon": null,
    "name": "ДЛЯ НОВИЧКОВ | БЕЗ ДОНАТА | KALASHNIKOVRUST",
    "connect": "80.242.59.133:35400",
    "request": "80.242.59.133:35410",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1766872420,
    "last_update": 1780903828,
    "banned": false,
    "wipe": 1780619572,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3878,
    "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/10780587");
$data = json_decode($json, true);
var_dump($data);