JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11018063
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 74313,
    "world_seed": 861428599,
    "world_size": 3500,
    "steam_id": "90286588736926749",
    "domain": null,
    "id": 11018063,
    "ip": "185.146.215.53",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Krasnodar",
    "description": "![RUSTOVCHANE X2](https://ltdfoto.ru/images/2026/02/04/RUSTOVCHANE.jpg)\nRUSTOVCHANE X2\r\nWIPE   05.03.2026 - 02.04.2026  22:00 MSK\r\nIP connect 185.146.215.53:28015\r\nMap: Procedural 3500\r\nResource extraction: X2\r\nKits+\r\nGame store: https://rustovchane.gamestores.app\r\nVK: https://vk.com/rustovchane\r\nTelegram: https://t.me/rustovchane\r\nby.LYAPA",
    "game": 252490,
    "owner": 40778,
    "boosts": 1,
    "last_offline": 1780563268,
    "last_online": 1780584021,
    "icon": null,
    "name": "RUSTOVCHANE X2",
    "connect": "185.146.215.53:28015",
    "request": "185.146.215.53:28016",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 3,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 91,
    "add_date": 1769944416,
    "last_update": 1780584021,
    "banned": false,
    "wipe": 1779443292,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 226,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "lyapa",
      "avatar": "d1fe8028-b65c-4e71-b170-37a497f8eff9.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

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