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

text
https://api.gamemonitoring.ru/servers/11502377
json
{
  "response": {
    "fps": 60,
    "fps_avg": 57,
    "entities_count": 20514,
    "world_seed": 0,
    "world_size": 1000,
    "steam_id": "90286588407040012",
    "domain": null,
    "id": 11502377,
    "ip": "40.160.20.178",
    "port": 40055,
    "query": 40056,
    "color": 0,
    "city": "Reston",
    "description": "![RustGames.gg | Rustcraft Lucky Pillars 3](https://assets.rustgames.gg/BRANDING/Server_Banner.png)\nWelcome to the RustGames.gg minigame network!Rules:• No cheating, scripting, exploiting, or bug abuse.• No harassment, hate speech, threats, or excessive toxicity.• No spam, advertising, or impersonation.• Respect staff decisions and other players.• Do not intentionally disrupt games, lobbies, queues, or events.This server description only includes the basic rules.The full rules, updates, support, appeals, and announcements are available in our Discord.Join the Discord for the complete rule list:rustgames.gg/discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779207199,
    "last_online": 1780578623,
    "icon": null,
    "name": "RustGames.gg | Rustcraft Lucky Pillars 3",
    "connect": "40.160.20.178:40055",
    "request": "40.160.20.178:40056",
    "map": "RustGames.gg",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 8,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 88,
    "add_date": 1779207199,
    "last_update": 1780578623,
    "banned": false,
    "wipe": 1778528011,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 316,
    "language": "en",
    "parked": false,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11502377");
$data = json_decode($json, true);
var_dump($data);