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

text
https://api.gamemonitoring.ru/servers/8158150
json
{
  "response": {
    "fps": 20,
    "fps_avg": 20,
    "entities_count": 5739,
    "world_seed": 123456,
    "world_size": 4000,
    "steam_id": "90284680186839047",
    "domain": null,
    "id": 8158150,
    "ip": "185.180.2.19",
    "port": 28300,
    "query": 27300,
    "color": 0,
    "city": "Prague",
    "description": "![[EU] CzechRust.eu MiniGames | COPTERS | TARGETS | ZOMBIES | FFA](https://czechrust.eu/img/MiniGames/czechreklama_minigames.png)\nMiniGames server with fun mods\r\nBETA version!\r\n\r\nTargtes\r\nBow Train\r\nFFA\r\nGun Game\r\nCopter Race\r\nZombie Mod\r\n\r\nGeneral informations:\r\n  You can read the rules on the server in /info\r\n  This is the [EU] server hosted in Czech Republic\r\n\r\nSocial media:\r\n Webpage:  czechrust.eu\r\n Twitter:  twitter.com/CzechRust\r\n Discord:  discord.czechrust.eu\r\n Facebook:  facebook.com/CzechRustServers\r\n Steam group:  steam.czechrust.eu\r\n\r\nSponsors and Partners:\r\n  fakaheda.eu - game & voice server hosting",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775152930,
    "score": 0,
    "last_online": 1776878424,
    "icon": null,
    "name": "[EU] CzechRust.eu MiniGames | COPTERS | TARGETS | ZOMBIES | FFA",
    "connect": "185.180.2.19:28300",
    "request": "185.180.2.19:27300",
    "map": "CzechRust.eu",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CZ",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1742011498,
    "last_update": 1776878424,
    "banned": false,
    "wipe": 1775153056,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3567,
    "language": "cs",
    "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/8158150");
$data = json_decode($json, true);
var_dump($data);