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

text
https://api.gamemonitoring.ru/servers/11644935
json
{
  "response": {
    "fps": 104,
    "fps_avg": 106,
    "map_url": "procedural_map_4500_seed_481981_r286",
    "map_kind": "procedural",
    "map_name": "Procedural Map",
    "map_seed": 481981,
    "map_size": 4500,
    "map_revision": 286,
    "entities_count": 119285,
    "steam_id": "90291895572100126",
    "domain": null,
    "id": 11644935,
    "ip": "89.34.97.7",
    "port": 28080,
    "query": 28015,
    "project_id": null,
    "color": 0,
    "city": "Сити",
    "description": "![EU Frontier | Monthly | ORP](https://cdn.discordapp.com/attachments/554026996108099616/1506701150374596688/BCO.eebc0c09-e19e-42a6-95a5-7b77493ba98d.png?ex=6a0f384b&is=6a0de6cb&hm=96343b32099d79a21684e545f7e403f90985134174cbad4ee3cb20e7664e92df)\nEU FRONTIER — MONTHLY — OFFLINE RAID PROTECTION  Welcome to the Frontier. A clean, fair, no‑nonsense Rust experience built for players who want a large map and a low‑pop environment without zergs or chaos.  Offline Raid Protection (ORP) • Activates after 30 minutes of ALL TC players being offline • ORP strength scales by WEEK OF THE WIPE:     - Week 1: Full protection (0% damage)     - Week 2: 20% damage     - Week 3: 35% damage     - Week 4: 50% damage     - Week 5+: 100% damage (normal raiding) • Daily raiding window: 18:00–01:00 (ORP disabled during this window) • Scope: Building blocks only • Damage Scale during raiding window: 1.00x • Raid Cost Increase: 0% • Logging in resets the ORP timer to zero • Sleepers count as offline  Anti‑Abuse Measures • No mid‑raid logoff protection • Pop‑up messages show your current ORP level  Solo / Duo / Trio / Quad No kits. No TP. No pay‑to‑win. Just Rust — but fair.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1787987046,
    "last_online": 1788244295,
    "icon": null,
    "name": "EU Frontier | Monthly | ORP",
    "connect": "89.34.97.7:28080",
    "request": "89.34.97.7:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2631",
    "numplayers": 0,
    "maxplayers": 140,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177440,
    "last_update": 1788244295,
    "ban_reason": null,
    "banned": false,
    "hidden": false,
    "wipe": 1783015323,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4216,
    "language": "en",
    "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/11644935");
$data = json_decode($json, true);
var_dump($data);