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

text
https://api.gamemonitoring.ru/servers/10671246
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 95282,
    "world_seed": 1782761079,
    "world_size": 4050,
    "steam_id": "90286605774486529",
    "domain": null,
    "id": 10671246,
    "ip": "66.51.99.79",
    "port": 28020,
    "query": 28021,
    "color": 0,
    "city": "Dallas",
    "description": "![RustyCan 2x PVE/PVP Zones](https://cdn3.mapstr.gg/cf8a7545e09e51e1512110d4b9e9702a.png)\nWelcome To RustyCan 2x PVE/PVP Zones \r\n Monthly map wipes With Purge (First Thursday of every month) \r\n No Blueprint Wipes \r\n 50% upkeep \r\n 10,000 stack resources \r\n 10 minute nights \r\n Recyclers at monuments \r\n Quad seat heli's \r\n Active Admins \r\n Join discord for the full list of rules",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780600465,
    "last_online": 1780633231,
    "icon": null,
    "name": "RustyCan 2x PVE/PVP Zones",
    "connect": "66.51.99.79:28020",
    "request": "66.51.99.79:28021",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1764579369,
    "last_update": 1780633231,
    "banned": false,
    "wipe": 1780600894,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3525,
    "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/10671246");
$data = json_decode($json, true);
var_dump($data);