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

text
https://api.gamemonitoring.ru/servers/782679
json
{
  "response": {
    "add_date": 1681806325,
    "app": {
      "id": 12,
      "name": "Rust",
      "steam_id": 252490,
      "url": "rust"
    },
    "color": 0,
    "connect": "89.58.19.234:28015",
    "country": "AT",
    "domain": null,
    "game": 252490,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 782679,
    "ip": "89.58.19.234",
    "language": "de",
    "last_update": 1792900981,
    "map": "Monsters Land (4000)",
    "maxplayers": 50,
    "name": "The Abandoned (PVE)",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 28015,
    "private": false,
    "project_id": null,
    "pve": 0,
    "pvp": null,
    "query": 28016,
    "request": "89.58.19.234:28016",
    "secured": false,
    "status": false,
    "steam_id": "90295664722525208",
    "version": "2635",
    "votes": 0,
    "wipe": 1792087423,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Вена",
    "description": "![The Abandoned (PVE)](https://nextcloud.istwach.de/index.php/s/Eyrdcgaxj8J7CDA/preview)\nThe Abandoned (PVE)\r\n* Map: Monsters Land (4000)\r\n\r\n* 100+ RBEs (for your boom)\r\n* CustomBots\r\n* Custom Bradleys\r\n* Raiding NPCs Defense\r\n\r\nDiscord:discord.gg/NRRkfSv5gW \r\nServer-Wipe: Biweekly\r\nLast Wipe: 15th of October 8 PM CET\r\nNext Wipe: 5th of November 8 PM CET\r\nDaily Patching: 5 AM CET\r\n\r\nMods:\r\n\r\n* /sil [url] to Frames\r\n* /remove\r\n* /backpack\r\n* /kit\r\n* /shop\r\n\r\n* Gathering-Levels\r\n* Increased Stack-Sizes\r\n* 1/4th Decay\r\n* TimeOfDay (55/5)\r\n* NightLantern\r\n* Skins\r\n* Armored Train, Convoy on Request",
    "disabled_modules": [],
    "gamemode": "Vanilla",
    "hidden": false,
    "last_offline": 1792900981,
    "last_online": 1792900684,
    "list_hidden": false,
    "map_url": "4km1o45sld2er_ver22",
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 11538,
    "wipe_period": null,
    "fps": 44,
    "gmn": "vanilla",
    "url": "https://discord.gg/NRRkfSv5gW",
    "hash": "481190f2",
    "build": "168909",
    "gc_cl": "159",
    "gc_mb": "3193",
    "modded": true,
    "fps_avg": 44,
    "ram_sys": "0",
    "map_kind": "custom",
    "map_name": "4k M1 O45 SLD2 ER ver22",
    "map_seed": 1337,
    "map_size": 4096,
    "logoimage": "",
    "listentype": "d",
    "environment": "l",
    "a2s_protocol": 17,
    "map_revision": null,
    "queueplayers": 0,
    "map_image_url": "https://files.facepunch.com/rust/map-images/6605c59e8abaa87e4e72a82b949f69fe85401122646ee7cccb6874f8add21d5f/4km1o45sld2er_ver22.4096.1790519096995.289_6605c59e8abaa87e4e72a82b949f69fe.jpg",
    "entities_count": 98774,
    "players_complete": true
  }
}

Примеры кода

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