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

text
https://api.gamemonitoring.ru/servers/10684831
json
{
  "response": {
    "fps": 129,
    "fps_avg": 124,
    "entities_count": 156591,
    "world_seed": 287175241,
    "world_size": 4500,
    "steam_id": "90286744541514772",
    "domain": null,
    "id": 10684831,
    "ip": "209.192.183.108",
    "port": 25565,
    "query": 25567,
    "project_id": null,
    "color": 0,
    "city": "Miami",
    "description": "![OldFarts 3x —  (No KOS + PvP Zones)](https://i.imgur.com/o78I4VH.jpeg)\nOldFarts 3x — Survive the Chill and the Chaos\r\n\r\nExplore a unique Rust world built for relaxed players who enjoy PvE survival, custom systems, and a good fight when it actually matters. No roaming KOS in the wilderness, controlled raiding, active PVP zones, and plenty of reasons to build smart and stay prepared.\r\n\r\n\r\n\r\nControlled Raiding System\r\n\r\nPlayer bases are protected during the 3 day grace period after wipe. After that, each player/group is limited to 1 player base raid per real life day, keeping raids exciting without turning the server into nonstop chaos.\r\n\r\n\r\n\r\nPVP Where It Matters\r\n\r\nThe wilderness stays PvE, but PVP is active in approved areas like raid bubbles, Badlands, Raidable Bases, Cargo, airdrops, heli, Bradley, tunnels, and other server events. Fight hard, but fight where it is allowed.\r\n\r\n\r\n\r\nCustom Imperium System\r\n\r\nOldFarts uses a heavily modified version of Imperium made for this server. It is not normal/default Imperium, and RespectMyVoid has changed nearly everything about how it works with our custom setup.\r\n\r\n\r\n\r\nStatic Lootables\r\n\r\nMonuments and warehouses feature refreshed interactable lootables, offering more exploration, more rewards, and a richer world to scavenge through.\r\n\r\n\r\n\r\nCustom Plugins\r\n\r\nWe develop our own plugins that add unique systems, smarter events, raid controls, quality of life improvements, and features found only on OldFarts.\r\n\r\n\r\n\r\nBuild smart, raid fair, fight where it matters, and experience Rust the OldFarts way. Join the frontier today!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780909463,
    "last_online": 1780930830,
    "icon": null,
    "name": "OldFarts 3x —  (No KOS + PvP Zones)",
    "connect": "209.192.183.108:25565",
    "request": "209.192.183.108:25567",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 9,
    "maxplayers": 500,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1764589597,
    "last_update": 1780930830,
    "banned": false,
    "wipe": 1780600804,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2899,
    "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/10684831");
$data = json_decode($json, true);
var_dump($data);