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

text
https://api.gamemonitoring.ru/servers/18904936
json
{
  "response": {
    "add_date": 1792781394,
    "app": {
      "id": 1625868,
      "name": "Myth of Empires",
      "steam_id": 1371580,
      "url": "myth-of-empires"
    },
    "color": 0,
    "connect": "213.136.82.35:28900",
    "country": "FR",
    "domain": null,
    "game": 1371580,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 18904936,
    "ip": "213.136.82.35",
    "language": "fr",
    "last_update": 1794778571,
    "map": "LargeTerrain_Central_Main",
    "maxplayers": 16,
    "name": "DigitalDesignExplorers",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 28900,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 28900,
    "request": "213.136.82.35:28900",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "1.129",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Lauterbourg",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794159561,
    "last_online": 1794778571,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 140,
    "wipe_period": null,
    "np": 1,
    "key": "450c2cd4c241bbac19fb7ff5bb417907a1eecd6a",
    "type": 2,
    "is_as": 0,
    "ds_type": 2,
    "has_pwd": 1,
    "r_hukou": 0,
    "category": 1,
    "is_as_bm": 0,
    "map_name": "LargeTerrain_Central_Main",
    "pvp_type": 1,
    "host_data": "",
    "major_ver": 1,
    "maxplayer": 16,
    "minor_ver": 129,
    "steamaddr": "",
    "a_mod_list": "",
    "district_id": 9999,
    "r_playernum": 16,
    "trueplayers": 0,
    "pct_playernum": 0,
    "master_version": "1794778561",
    "master_category": 1,
    "master_time_stamp": "2026-11-16 05:36:01",
    "auto_get_ip_by_server": true,
    "master_format_version": 2
  }
}

Примеры кода

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