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

text
https://api.gamemonitoring.ru/servers/1648433
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 142909,
    "world_seed": 743583248,
    "world_size": 5000,
    "steam_id": "90284607316321285",
    "domain": null,
    "id": 1648433,
    "ip": "46.59.18.254",
    "port": 28115,
    "query": 28117,
    "color": 0,
    "city": "Stockholm",
    "description": "![[EU]PandaGaming.se|Lightly Modded|Rust|](https://www.pandagaming.se/rust_maps/RustLogo/Modded-Rust2.png)\n-- Lightly Modded Server --\r\n -- client.connect 46.59.18.254:28117 --\r\n -- Discord Invite: discord.gg/HEp4sApE6c --",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776515555,
    "score": null,
    "last_online": 1776878422,
    "icon": null,
    "name": "[EU]PandaGaming.se|Lightly Modded|Rust|",
    "connect": "46.59.18.254:28115",
    "request": "46.59.18.254:28117",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1698492175,
    "last_update": 1776878422,
    "banned": false,
    "wipe": 1775158244,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3108,
    "language": "sv",
    "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/1648433");
$data = json_decode($json, true);
var_dump($data);