JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11644695
json
{
  "response": {
    "fps": 117,
    "fps_avg": 117,
    "entities_count": 96773,
    "world_seed": 426312330,
    "world_size": 4000,
    "steam_id": "90286525762041884",
    "domain": null,
    "id": 11644695,
    "ip": "91.206.30.117",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Kyiv",
    "description": "![BUNKER RUST X5 | MAX 3 | KITS/HOMES/REMOVE](http://91.206.30.117/logo/header.png)\nДобро пожаловать на сервер BUNKER RUST UA!\r\n\r\n- Рейты на добычу: X5\r\n- Стаки предметов: X50\r\n- Ускоренная плавка в печах\r\n- Есть команды /home и /tpr\r\n- Вайп раз месяц.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470419,
    "last_online": 1780588230,
    "icon": null,
    "name": "BUNKER RUST X5 | MAX 3 | KITS/HOMES/REMOVE",
    "connect": "91.206.30.117:28015",
    "request": "91.206.30.117:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "UA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177433,
    "last_update": 1780588230,
    "banned": false,
    "wipe": 1780248892,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2389,
    "language": "uk",
    "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/11644695");
$data = json_decode($json, true);
var_dump($data);