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

text
https://api.gamemonitoring.ru/servers/8297850
json
{
  "response": {
    "fps": 27,
    "fps_avg": 41,
    "entities_count": 109033,
    "world_seed": 1620511417,
    "world_size": 4250,
    "steam_id": "90286276113075231",
    "domain": null,
    "id": 8297850,
    "ip": "73.131.110.248",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Charleston",
    "description": "![[Bear's US] x2 | No BP Wipe | Slow Decay | Noob Friendly](https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/avatars/07/07f16633b9be46474c15d4e3e1f427140c12a052_full.jpg)\nWelcome to Bear's US!\r\n\r\n- This server features a few custom settings and a PVE mod that spawns bases around the map for players to raid and score some good loot.\r\n- Daytime is twice as long, nighttime is 5 minutes.\r\n- Cars are equiped with a turbo (open wastegate = right-click)\r\n- Cars can tow other cars. With a hammer equiped, middle click on your car first, then middle click on the car you want to tow.\r\n- Cars also have",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780648415,
    "last_online": 1779958825,
    "icon": null,
    "name": "[Bear's US] x2 | No BP Wipe | Slow Decay | Noob Friendly",
    "connect": "73.131.110.248:28015",
    "request": "73.131.110.248:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1743250325,
    "last_update": 1780648415,
    "banned": false,
    "wipe": 1778250170,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9749,
    "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/8297850");
$data = json_decode($json, true);
var_dump($data);